Merge pull request #2561 from cheahjs/feat/generate-source-maps

feat: generate production source maps to assist debugging
This commit is contained in:
Timothy Jaeryang Baek 2024-05-24 23:51:26 -10:00 committed by GitHub
commit e9c8341d38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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'
}