ObjToSchematic/webpack.dev.js

15 lines
346 B
JavaScript
Raw Normal View History

2023-02-11 08:53:27 +08:00
const { merge } = require('webpack-merge');
const common = require('./webpack.common.js');
const path = require('path');
module.exports = merge(common, {
mode: 'development',
devtool: 'eval-source-map',
devServer: {
static: {
directory: path.join(__dirname, './webpack'),
},
hot: true,
},
});