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, }, });