Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoC: Split treemap UI from webpack analyzer code #1

Open
wants to merge 3 commits into
base: split-reporter
Choose a base branch
from

Conversation

valscion
Copy link
Owner

This is a proof of concepts showcasing one approach of splitting the UI code from webpack code in a pluggable way as described in webpack-contrib#32 (comment)

This is how the directory tree would look like with this approach:

webpack-bundle-analyzer
├── reporter-treemap
│   ├── client
│   │   ├── components
│   │   └── vendor
│   ├── public
│   ├── views
│   └── webpack.config.js
├── src
│   ├── bin
│   └── chartData
└── test
    ├── bundles
    ├── src
    └── stats

This is the first step in separating the reporter from the webpack
specific parts
@valscion
Copy link
Owner Author

This approach currently is breaking on Node 4 because the reporter-treemap directory is not being transpiled.

Please ignore this for now, as this is just a proof of concept. This approach works on Node 6 and up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant