Skip to content

Commit

Permalink
[ADD]webpack-bundle-analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
haixinchen committed Nov 20, 2020
1 parent 7dcdce7 commit 8b36c13
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,13 @@ according to [NPM problem: npm ERR! extraneous](http://lifeonubuntu.com/npm-prob
* How to publish this extension? Please run 'npm install -g vsce' to install vsce, according to [publishing-extension](https://code.visualstudio.com/api/working-with-extensions/publishing-extension)
* Meet This extension consists of 12756 files, out of which 7903 are JavaScript files. For performance reasons, you should bundle your extension: https://aka.ms/vscode-bundle-extension . You should also exclude unnecessary files by adding them to your .vscodeignore: https://aka.ms/vscode-vscodeignore
* vim webpack.config.js, and enable http server for `webpack-bundle-analyzer`
```js
- analyzerMode: 'disabled'
+ analyzerMode: 'server'
```
* 'vsce package && vsce publish' failed?
Expand Down

0 comments on commit 8b36c13

Please sign in to comment.