Skip to content

Split reporter to new package - #82

Closed
valscion wants to merge 12 commits into
masterfrom
split-reporter-to-new-package
Closed

valscion wants to merge 12 commits into
masterfrom
split-reporter-to-new-package

Conversation

@valscion

Copy link
Copy Markdown
Collaborator

Follow-up to #81 and #80, this contains the last missing pieces of removing the treemap UI code and using https://github.com/webpack-bundle-analyzer/reporter-treemap instead.

This should be safe to even release with a minor version bump, as the treemap code extraction is not yet visible to outside world — apart from one new package being installed with the next webpack-bundle-analyzer version.

I've invited you @th0r to the @webpack-bundle-analyzer GitHub organization and the @webpack-bundle-analyzer npm organization, where I extracted the reporter to @webpack-bundle-analyzer/reporter-treemap package.

@valscion

Copy link
Copy Markdown
Collaborator Author

I tested this by running npm pack on the latest commit (95bf3c1), moving the packed .tgz file to our project folder and then running npm install ./webpack-bundle-analyzer-2.8.2.tgz from there. Everything is working smooooooothly ✌️

@valscion

valscion commented May 27, 2017 •

Copy link
Copy Markdown
Collaborator Author

Hmm seems like the analyzerMode: 'server' doesn't work for some reason, the process justs quits before it opens the browser. Looking into this now...

EDIT: D'oh, stupid me, I just had not ran npm pack after the fix I did in 95bf3c1 so the version I was testing was 50a9ae9. All is looking good.

@valscion

valscion commented Jul 2, 2017

Copy link
Copy Markdown
Collaborator Author

I'm gonna close this PR as a proof of concept and then figure out a Lerna approach where we can keep the reporter package under the same repository :)

@valscion valscion closed this Jul 2, 2017
@valscion
valscion changed the base branch from master to split-reporter-2 July 14, 2017 08:50
@valscion
valscion changed the base branch from split-reporter-2 to master July 14, 2017 08:50
@valscion
valscion deleted the split-reporter-to-new-package branch October 1, 2017 10:57
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