Browse Source

测试期间开启sourcemap

Michael Wang 3 years ago
parent
commit
a8e120a44c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      vite.config.ts

+ 2 - 0
vite.config.ts

@@ -78,6 +78,8 @@ export default defineConfig({
   },
   build: {
     ssr: false,
+    // FIXME: 为初期测试开启的调试
+    sourcemap: true,
   },
   // define: {
   //   __VUE_PROD_DEVTOOLS__: true, // no effect