wisemapping-frontend/packages/mindplot/webpack.dev.js

16 lines
367 B
JavaScript
Raw Normal View History

2021-12-24 20:26:38 +01:00
const { HotModuleReplacementPlugin } = require('webpack');
const { merge } = require('webpack-merge');
const common = require('./webpack.common');
const devConfig = {
mode: 'development',
devServer: {
historyApiFallback: true,
port: 8080,
open: true,
},
plugins: [new HotModuleReplacementPlugin()],
};
module.exports = merge(common, devConfig);