fix: enable cache busting for js files (#285)

This commit is contained in:
Robert Kaussow 2022-01-13 21:10:45 +01:00 committed by GitHub
parent 3e6dc5e07e
commit 3cc0e5e7ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,8 +24,8 @@ var config = {
search: [path.resolve("src", "js", "search.js")]
},
output: {
filename: "js/[name].bundle.min.js",
chunkFilename: "js/[name].chunk.min.js",
filename: "js/[name]-[contenthash:8].bundle.min.js",
chunkFilename: "js/[name]-[contenthash:8].chunk.min.js",
path: path.join(__dirname, "static"),
publicPath: "/",
clean: true