whiteboard/config/webpack.dev.js
2022-01-25 14:57:19 +01:00

15 lines
385 B
JavaScript

const { merge } = require("webpack-merge");
const baseConfig = require("./webpack.base");
const webpack = require("webpack");
const devConfig = merge(baseConfig, {
mode: "development",
devtool: "eval-source-map",
optimization: {
minimize: false,
},
plugins: [new webpack.NoEmitOnErrorsPlugin()].concat(baseConfig.plugins),
});
module.exports = devConfig;