aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webpack.config.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 62bc4c5..0fe45da 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -7,8 +7,8 @@ module.exports = (env) => {
entry: "./src/index.tsx",
mode: env,
output: {
- path: path.resolve(__dirname, "build/js"),
- filename: "[name].bundle.js",
+ path: path.resolve(__dirname, "build"),
+ filename: "[name].[contenthash].bundle.js",
publicPath: "/",
devtoolModuleFilenameTemplate: "file:///" + path.resolve(__dirname, "[resource-path]?[loaders]")
},