mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-13 02:37:57 +01:00
17 lines
322 B
JavaScript
17 lines
322 B
JavaScript
|
const { merge } = require("webpack-merge");
|
||
|
const common = require("./webpack.common");
|
||
|
|
||
|
/** @type {import('webpack').Configuration} */
|
||
|
const prodConfig = {
|
||
|
mode: "production",
|
||
|
devtool: "source-map",
|
||
|
optimization: {
|
||
|
splitChunks: {
|
||
|
chunks: "all",
|
||
|
},
|
||
|
}
|
||
|
};
|
||
|
|
||
|
module.exports = merge(common, prodConfig);
|
||
|
|