- 在 vite.config.ts 中将 sourcemap配置从 false 修改为 true - 此修改有助于在开发和调试过程中提供更准确的错误信息
@ -50,7 +50,7 @@ export default defineConfig(env => {
target: 'modules',
outDir: "./dist",
minify: true,
sourcemap: false,
sourcemap: true,
rollupOptions: {
// output: {
// chunkFileNames: (chunkInfo) => {