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

16 lines
367 B
JavaScript
Raw Permalink Normal View History

const { HotModuleReplacementPlugin } = require('webpack');
const { merge } = require('webpack-merge');
const common = require('./webpack.common');
2021-07-16 16:41:58 +02:00
const devConfig = {
mode: 'development',
devServer: {
historyApiFallback: true,
port: 8080,
open: true,
},
plugins: [new HotModuleReplacementPlugin()],
2021-07-16 16:41:58 +02:00
};
module.exports = merge(common, devConfig);