Skip to content

Commit

Permalink
refactor(build-config): use contenthash for mini-css-extract-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
ZauberNerd committed Apr 4, 2018
1 parent 4a67507 commit ba80b51
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/build-config/configs/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ module.exports = {
new StatsWriterPlugin({ fields: null }),
new ServiceWorkerPlugin(),
new MiniCSSExtractPlugin({
filename: getAssetPath('[name]-[hash:16].css'),
chunkFilename: getAssetPath('[name]-[hash:16].css'),
filename: getAssetPath('[name]-[contenthash:16].css'),
}),
new webpack.HashedModuleIdsPlugin(),
new webpack.EnvironmentPlugin(
Expand Down

0 comments on commit ba80b51

Please sign in to comment.