2021-07-23 01:25:41 +00:00
|
|
|
const { merge } = require("webpack-merge");
|
|
|
|
const common = require("./webpack.common");
|
|
|
|
|
|
|
|
let config = {
|
|
|
|
mode: "development",
|
2021-07-24 04:45:10 +00:00
|
|
|
devtool: "eval-cheap-module-source-map",
|
|
|
|
output: {
|
|
|
|
pathinfo: false,
|
|
|
|
},
|
|
|
|
optimization: {
|
|
|
|
removeAvailableModules: false,
|
|
|
|
removeEmptyChunks: false,
|
|
|
|
mergeDuplicateChunks: false,
|
|
|
|
providedExports: false,
|
|
|
|
splitChunks: false,
|
|
|
|
innerGraph: false,
|
2021-07-24 06:39:26 +00:00
|
|
|
},
|
|
|
|
cache: {
|
|
|
|
type: "filesystem",
|
|
|
|
buildDependencies: {
|
|
|
|
config: [__filename],
|
|
|
|
}
|
2021-07-24 04:45:10 +00:00
|
|
|
}
|
2021-07-23 01:25:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
module.exports = merge(common, config);
|