Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
fix(webpack_config/webpack.prod.js): uncomment moduleconcatenation, f…
Browse files Browse the repository at this point in the history
…ix some typos
  • Loading branch information
Metnew committed Jul 15, 2017
1 parent fb5ccf5 commit 869a8e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions webpack_config/webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ base.plugins.push(
}),
// NOTE: ModuleConcatenationPlugin doesn't work on linux alpine,
// I got an error trying to deploy this app to zeit's `now` when i use this plugin
// new webpack.optimize.ModuleConcatenationPlugin(),
new webpack.optimize.ModuleConcatenationPlugin(),
new ShakePlugin(),
new OptimizeCssAssetsPlugin(),
// NOTE: Prepack currently in alpha, be carefull with it
// NOTE: Prepack is currently in alpha, be carefull with it
// new PrepackWebpackPlugin(),
//
// extract vendor chunks
Expand Down Expand Up @@ -133,7 +133,7 @@ base.plugins.push(
windows: true
}
}),
// NOTE: you can use BabiliPlugin as alternative to UglifyJSPlugin
// NOTE: you can use BabiliPlugin as an alternative to UglifyJSPlugin
// new BabiliPlugin(),
new UglifyJSPlugin({
sourceMap: true,
Expand All @@ -151,7 +151,7 @@ base.plugins.push(
}),
// create manifest.json
new ManifestPlugin({fileName: 'manifest.json', cache: config.manifest}),
// AppCache + ServiceWorkers
// plugin for ServiceWorkers
new OfflinePlugin({
responseStrategy: 'network-first',
safeToUseOptionalCaches: true,
Expand Down

0 comments on commit 869a8e1

Please sign in to comment.