16 lines
344 B
JavaScript
16 lines
344 B
JavaScript
|
const path = require("path");
|
||
|
const merge = require("webpack-merge");
|
||
|
const common = require("./webpack.common.js");
|
||
|
|
||
|
module.exports = merge.smart(common, {
|
||
|
mode: "development",
|
||
|
watchOptions: {
|
||
|
ignored: ["node_modules/**"],
|
||
|
},
|
||
|
devServer: {
|
||
|
contentBase: path.join(__dirname, "dist"),
|
||
|
compress: true,
|
||
|
port: 9000,
|
||
|
},
|
||
|
});
|