Updating webpack configs

This commit is contained in:
2020-05-25 06:16:43 +01:00
parent a009ad62d3
commit 7fea4b56cf
4 changed files with 1141 additions and 15 deletions

View File

@@ -0,0 +1,13 @@
const webpack = require("webpack");
const common = require("./webpack.common");
const merge = require("webpack-merge");
module.exports = merge(common, {
mode: "production",
devtool: "none",
output: {
filename: "[name].[contenthash].min.js",
chunkFilename: "[id].[name].[contenthash].min.js",
publicPath: "dist/",
},
});