vue3-h5-template/build/webpack.dev.conf.js
2020-05-22 15:17:06 +08:00

12 lines
304 B
JavaScript

const merge = require('webpack-merge');
const path = require('path');
const baseConfig = require('./webpack.base.conf');
module.exports = merge(baseConfig, {
mode: 'development',
devtool: 'inline-source-map',
devServer: {
contentBase: path.resolve(__dirname, '../dist'),
open: true
}
});