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