odin-codespace/dynamicProgrammingExamples/webpack.dev.js

11 lines
238 B
JavaScript
Raw Normal View History

2024-01-10 00:30:16 -05:00
const { merge } = require("webpack-merge");
const common = require("./webpack.common.js");
2024-01-08 23:12:32 -05:00
module.exports = merge(common, {
2024-01-10 00:30:16 -05:00
mode: "development",
devtool: "inline-source-map",
2024-01-08 23:12:32 -05:00
devServer: {
2024-01-10 00:30:16 -05:00
static: "./dist",
2024-01-08 23:12:32 -05:00
},
2024-01-10 00:30:16 -05:00
});