fix: add promise.withResolvers supports

This commit is contained in:
wzp 2024-12-10 12:31:54 +08:00
parent c989f5f136
commit 0e4abb39dd

View File

@ -14,7 +14,8 @@ export default defineConfig({
plugins: [
legacy({
targets: ['defaults'],
polyfills: ["es.promise.with-resolvers"]
polyfills: ["es.promise.with-resolvers"],
modernPolyfills: ["es.promise.with-resolvers"],
}),
vue(),
vueJsx(),