Explorar el Código

feat: generate production source maps to assist debugging

Jun Siang Cheah hace 11 meses
padre
commit
3d1cc1e422
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      vite.config.ts

+ 3 - 0
vite.config.ts

@@ -20,6 +20,9 @@ export default defineConfig({
 	define: {
 		APP_VERSION: JSON.stringify(process.env.npm_package_version)
 	},
+	build: {
+		sourcemap: true
+	},
 	worker: {
 		format: 'es'
 	}