mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-24 15:37:55 +01:00
16 lines
367 B
JavaScript
16 lines
367 B
JavaScript
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);
|