From 1e78b8c19439c0cd1b32bc1bc926730d0ba9385a Mon Sep 17 00:00:00 2001 From: xyf-mac Date: Mon, 5 Apr 2021 11:10:54 +0800 Subject: [PATCH] fff --- source/vue.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/vue.config.js b/source/vue.config.js index afca3dd..32305c1 100644 --- a/source/vue.config.js +++ b/source/vue.config.js @@ -1,3 +1,5 @@ +const Path = require("path"); + module.exports = { publicPath: "/", outputDir: "dist", @@ -24,4 +26,11 @@ module.exports = { } } }, + configureWebpack: { + mode: "development", + devtool: "#source-map", + entry: { + inject: Path.join(__dirname, "src/inject.js"), + } + } };