forked from mirror/ObjToSchematic
15 lines
346 B
JavaScript
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,
|
||
|
},
|
||
|
});
|