feat: generate production source maps to assist debugging

This commit is contained in:
Jun Siang Cheah 2024-05-25 09:03:04 +01:00
parent d0d76e2ad5
commit 3d1cc1e422

View File

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