12 lines
320 B
JavaScript
Raw Normal View History

const { HotModuleReplacementPlugin } = require('webpack');
const { merge } = require('webpack-merge');
const common = require('./webpack.common');
2021-07-16 11:41:58 -03:00
const devConfig = {
mode: 'development',
plugins: [new HotModuleReplacementPlugin()],
2021-10-02 19:52:56 -07:00
devtool: 'eval-source-map'
2021-07-16 11:41:58 -03:00
};
module.exports = merge(common, devConfig);