Skip to content

PoC: Split treemap UI from webpack analyzer code - #1

Open
valscion wants to merge 3 commits into
split-reporterfrom
split-reporter-for-reals
Open

valscion wants to merge 3 commits into
split-reporterfrom
split-reporter-for-reals

Conversation

@valscion

Copy link
Copy Markdown
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#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
Copy Markdown
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