build: 更新 esbuild 配置,解决“Big integer literals”报错

This commit is contained in:
2024-09-08 22:53:25 +08:00
parent b1c572903f
commit 0a86b75454

View File

@@ -14,6 +14,11 @@ export default defineConfig({
build: { build: {
assetsInlineLimit: 0, assetsInlineLimit: 0,
}, },
esbuild: {
supported: {
bigint: true,
},
},
envPrefix: 'V_ENV_', envPrefix: 'V_ENV_',
plugins: [ plugins: [
legacy({ legacy({