mirror of
https://github.com/xxxsf/vue3-h5-template.git
synced 2025-04-06 05:23:46 +08:00
21 lines
462 B
JavaScript
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,
|
|
},
|
|
});
|