13 lines
261 B
JavaScript
13 lines
261 B
JavaScript
const { merge } = require('webpack-merge');
|
|
const common = require('./webpack.common.js');
|
|
|
|
module.exports = merge(common, {
|
|
mode: 'development',
|
|
devtool: 'inline-source-map',
|
|
devServer: {
|
|
host: 'localhost',
|
|
port: 7000,
|
|
open: true,
|
|
},
|
|
watch: true
|
|
})
|