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

15 lines
381 B
JavaScript
Raw Normal View History

2021-07-16 16:41:58 +02:00
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)