vue3-h5-template/build/webpack.dev.conf.js
2020-05-25 00:59:46 +08:00

17 lines
357 B
JavaScript

const merge = require("webpack-merge");
const path = require("path");
const baseConfig = require("./webpack.base.conf");
module.exports = merge(baseConfig, {
mode: "development",
devtool: "inline-source-map",
module: {
rules: [ // 自己拓展着玩呀
],
},
devServer: {
contentBase: path.resolve(__dirname, "../dist"),
open: true,
},
});