vue3-h5-quark-template/build/webpack.dev.conf.js
2020-05-22 17:51:02 +08:00

21 lines
462 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: [ // 自己拓展着玩呀
// {
// test: /\.css$/,
// use: ["vue-style-loader", "css-loader", "postcss-loader"],
// },
],
},
devServer: {
contentBase: path.resolve(__dirname, "../dist"),
open: true,
},
});