mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-10 17:33:24 +01:00
15 lines
381 B
JavaScript
15 lines
381 B
JavaScript
|
const { HotModuleReplacementPlugin } = require("webpack");
|
||
|
const { merge } = require("webpack-merge");
|
||
|
const common = require("./webpack.common");
|
||
|
|
||
|
/** @type {import('webpack').Configuration} */
|
||
|
const devConfig = {
|
||
|
mode: "development",
|
||
|
target: "web2d",
|
||
|
plugins: [new HotModuleReplacementPlugin()],
|
||
|
devtool: "eval-source-map"
|
||
|
};
|
||
|
|
||
|
module.exports = merge(common, devConfig)
|
||
|
|