fix: enable cache busting for js files (#285)
parent
3e6dc5e07e
commit
3cc0e5e7ab
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue