You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
391 B
21 lines
391 B
1 year ago
|
const common = require("./webpack.common.js");
|
||
|
const { merge } = require("webpack-merge");
|
||
|
const dirs = require("./dirs");
|
||
|
|
||
|
|
||
|
module.exports = merge(common, {
|
||
|
mode: "development",
|
||
|
|
||
|
devtool: "inline-source-map",
|
||
|
|
||
|
output: {
|
||
|
path: dirs.DEST,
|
||
|
filename: "[name].js",
|
||
|
},
|
||
|
|
||
|
devServer: {
|
||
|
port: 9001,
|
||
|
liveReload: true,
|
||
|
},
|
||
|
});
|