mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-16 03:57:55 +01:00
12 lines
320 B
JavaScript
12 lines
320 B
JavaScript
|
const { HotModuleReplacementPlugin } = require('webpack');
|
||
|
const { merge } = require('webpack-merge');
|
||
|
const common = require('./webpack.common');
|
||
|
|
||
|
const devConfig = {
|
||
|
mode: 'development',
|
||
|
plugins: [new HotModuleReplacementPlugin()],
|
||
|
devtool: 'eval-source-map'
|
||
|
};
|
||
|
|
||
|
module.exports = merge(common, devConfig);
|