airboardgame/backend/webpack.development.js

16 lines
344 B
JavaScript
Raw Normal View History

2020-12-11 20:24:33 +01:00
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,
},
});