about summary refs log tree commit diff
path: root/config/webpack
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>2017-10-27 23:54:20 +0900
committerunarist <m.unarist@gmail.com>2017-10-27 23:54:20 +0900
commite4080772b511e8dd436fddc79de10f44e4d83ff6 (patch)
tree26e0be5d9f05b3e4583c2344bb5ae8359cd7ca7f /config/webpack
parent781105293cf129c84ef0b91ec8cd27b7127cf951 (diff)
Use contenthash for ExtractTextWebpackPlugin (#5462)
[hash] is not documented.
Diffstat (limited to 'config/webpack')
-rw-r--r--config/webpack/shared.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack/shared.js b/config/webpack/shared.js
index cd642a28a..5ff267fc5 100644
--- a/config/webpack/shared.js
+++ b/config/webpack/shared.js
@@ -55,7 +55,7 @@ module.exports = {
         resource.request = resource.request.replace(/^history/, 'history/es');
       }
     ),
-    new ExtractTextPlugin(env.NODE_ENV === 'production' ? '[name]-[hash].css' : '[name].css'),
+    new ExtractTextPlugin(env.NODE_ENV === 'production' ? '[name]-[contenthash].css' : '[name].css'),
     new ManifestPlugin({
       publicPath: output.publicPath,
       writeToFileEmit: true,