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 05:11:46 +00:00
|
|
|
|
2022-04-15 20:34:43 +00:00
|
|
|
const devConfig = {
|
2022-04-15 05:11:46 +00:00
|
|
|
mode: "development",
|
|
|
|
devtools: "inline-source-map",
|
|
|
|
devServer: {
|
2022-04-16 08:22:01 +00:00
|
|
|
static: path.resolve("./dist"),
|
|
|
|
open: true
|
2022-04-15 05:11:46 +00:00
|
|
|
}
|
2022-04-15 20:34:43 +00:00
|
|
|
};
|
2022-04-15 05:11:46 +00:00
|
|
|
|
|
|
|
export default merge(webpackCommon, devConfig);
|