mirror of
https://github.com/xsf0105/vue3-h5-template.git
synced 2025-04-06 04:00:04 +08:00
20 lines
451 B
JavaScript
20 lines
451 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,
|
|
},
|
|
});
|