mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-28 07:30:37 +00:00
fix: enable cache busting for js files (#285)
This commit is contained in:
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
Block a user