2024-02-03 19:03:56 +00:00
|
|
|
const path = require('path');
|
2024-02-03 18:56:39 +00:00
|
|
|
const { merge } = require('webpack-merge');
|
|
|
|
const common = require('./webpack.common.js');
|
|
|
|
|
|
|
|
module.exports = merge(common, {
|
2024-02-03 19:03:56 +00:00
|
|
|
mode: "development",
|
|
|
|
devtool: "inline-source-map",
|
2024-02-03 23:49:09 +00:00
|
|
|
devServer: {
|
2024-02-03 19:03:56 +00:00
|
|
|
static: {
|
|
|
|
directory: path.join(__dirname, "src"),
|
|
|
|
},
|
|
|
|
compress: true,
|
|
|
|
port: 9001,
|
|
|
|
}
|
2024-02-03 18:56:39 +00:00
|
|
|
})
|