commit: e4080772b511e8dd436fddc79de10f44e4d83ff6
parent: 781105293cf129c84ef0b91ec8cd27b7127cf951
Author: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Date: Fri, 27 Oct 2017 23:54:20 +0900
Use contenthash for ExtractTextWebpackPlugin (#5462)
[hash] is not documented.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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,