VersaWhiteboard/config/webpack.dev.js

19 lines
488 B
JavaScript
Raw Normal View History

const merge = require("webpack-merge");
const baseConfig = require("./webpack.base");
const webpack = require("webpack");
const devConfig = merge(baseConfig, {
2020-05-09 15:40:26 +02:00
mode: "development",
devtool: "eval-source-map",
optimization: {
minimize: false,
},
plugins: [
new webpack.HotModuleReplacementPlugin(),
new webpack.NamedModulesPlugin(),
new webpack.NoEmitOnErrorsPlugin(),
].concat(baseConfig.plugins),
});
module.exports = devConfig;