15 lines
328 B
JavaScript
15 lines
328 B
JavaScript
import { merge } from "webpack-merge";
|
|
import path from "path";
|
|
import webpackCommon from "./webpack.common.js";
|
|
|
|
|
|
const devConfig = {
|
|
mode: "development",
|
|
devtools: "inline-source-map",
|
|
devServer: {
|
|
static: path.resolve("./dist"),
|
|
open: true
|
|
}
|
|
};
|
|
|
|
export default merge(webpackCommon, devConfig); |