const path = require('path'); const { merge } = require('webpack-merge'); const common = require('./webpack.common.js'); module.exports = merge(common, { mode: "development", devtool: "inline-source-map", devSources: { static: { directory: path.join(__dirname, "src"), }, compress: true, port: 9001, } })