audioshowkit/webpack.dev.js

15 lines
328 B
JavaScript
Raw Normal View History

2022-04-16 08:22:01 +00:00
import { merge } from "webpack-merge";
import path from "path";
import webpackCommon from "./webpack.common.js";
2022-04-15 20:34:43 +00:00
const devConfig = {
mode: "development",
devtools: "inline-source-map",
devServer: {
2022-04-16 08:22:01 +00:00
static: path.resolve("./dist"),
open: true
}
2022-04-15 20:34:43 +00:00
};
export default merge(webpackCommon, devConfig);