Update vite.config.js (#544)

This commit is contained in:
Dream Hunter
2025-01-05 02:05:40 +08:00
committed by GitHub
parent 479322c430
commit e9748be9fe

View File

@@ -68,5 +68,10 @@ export default defineConfig({
},
define: {
'import.meta.env.PACKAGE_VERSION': JSON.stringify(process.env.npm_package_version),
},
esbuild: {
supported: {
'top-level-await': true
},
}
})