ObjToSchematic/webpack.dev.js
2023-02-11 00:53:27 +00:00

15 lines
346 B
JavaScript

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,
},
});