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

19 lines
488 B
JavaScript
Raw 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
/** @type {import('webpack').Configuration} */
const devConfig = {
mode: 'development',
target: 'web',
plugins: [new HotModuleReplacementPlugin()],
devtool: 'eval-source-map',
devServer: {
port: 8080,
open: 'google-chrome-stable',
hot: true,
},
2021-07-16 16:41:58 +02:00
};
module.exports = merge(common, devConfig);