web端优化数据加载
This commit is contained in:
@@ -52,7 +52,7 @@ export default defineConfig(({ mode }) => {
|
||||
},
|
||||
},
|
||||
esbuild: {
|
||||
drop: ["console"],
|
||||
drop: mode === "development" ? undefined : ["console", "debugger"],
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
|
||||
Reference in New Issue
Block a user