From 469ac4d03807948d3b264957abdab6f3ab4ff5da Mon Sep 17 00:00:00 2001 From: Marshall Quander <marshall@quander.me> Date: Mon, 23 Jul 2018 14:32:06 -0700 Subject: [PATCH] Upgrade webpack --- package.json | 2 +- webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 41afb4977..ff53b524a 100644 --- a/package.json +++ b/package.json @@ -88,7 +88,7 @@ "shelljs": "^0.8.1", "style-loader": "^0.20.2", "url-loader": "^1.0.1", - "webpack": "^4.0.1", + "webpack": "^4.16.2", "webpack-cli": "^2.0.9", "webpack-dev-server": "^3.0.0", "worker-loader": "^2.0.0" diff --git a/webpack.config.js b/webpack.config.js index a631e867c..a9a5c07fe 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -250,7 +250,7 @@ const config = { ]), // Extract required css and add a content hash. new ExtractTextPlugin({ - filename: "assets/stylesheets/[name]-[contenthash].css", + filename: "assets/stylesheets/[name]-[md5:contenthash:hex:20].css", disable: process.env.NODE_ENV !== "production" }), // Transform the output of the html-loader using _.template -- GitLab