14 lines
323 B
JavaScript
14 lines
323 B
JavaScript
|
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',
|
||
|
devServer: {
|
||
|
contentBase: path.join(__dirname, 'dist'),
|
||
|
port: 9000,
|
||
|
historyApiFallback: true,
|
||
|
},
|
||
|
});
|