Updating webpack configs
This commit is contained in:
@@ -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/",
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user