Vanessa 2025-09-01 11:13:53 +08:00
parent 22d34c755b
commit e015f72945
7 changed files with 6 additions and 8 deletions

View file

@ -10,7 +10,7 @@ module.exports = (env, argv) => {
return {
mode: argv.mode || "development",
watch: argv.mode !== "production",
devtool: argv.mode !== "production" ? "cheap-source-map" : false,
devtool: argv.mode !== "production" ? "eval-source-map" : false,
output: {
publicPath: "auto",
filename: "[name].js",