File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed
Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 7373 "styled-components" : " ^2.4.1" ,
7474 "uglifyjs-webpack-plugin" : " ^0.4.6" ,
7575 "webpack" : " ^3.2.0" ,
76+ "webpack-bundle-analyzer" : " ^2.13.1" ,
7677 "webpack-dev-server" : " ^2.5.1"
7778 },
7879 "dependencies" : {
Original file line number Diff line number Diff line change 11const path = require ( 'path' ) ;
22const CleanWebpackPlugin = require ( 'clean-webpack-plugin' ) ;
33const UglifyJsPlugin = require ( 'uglifyjs-webpack-plugin' ) ;
4+ const BundleAnalyzerPlugin = require ( 'webpack-bundle-analyzer' ) . BundleAnalyzerPlugin ;
45
56module . exports = {
67 entry : path . resolve ( __dirname , 'lib/index' ) ,
@@ -20,6 +21,7 @@ module.exports = {
2021 new UglifyJsPlugin ( {
2122 comments : false ,
2223 } ) ,
24+ new BundleAnalyzerPlugin ( ) ,
2325 ] ,
2426 module : {
2527 rules : [
You can’t perform that action at this time.
0 commit comments