We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8419e85 commit 0811db4Copy full SHA for 0811db4
build/webpack.config.js
@@ -424,15 +424,17 @@ ${ pkg.name } v${ pkg.version } for vue${ vueTarget }
424
425
[
426
'polyfill-corejs3', {
427
+ // doc: https://github.com/babel/babel-polyfills/blob/main/docs/usage.md#method
428
+
429
// Allow global scope pollution with polyfills required by actualTargetsBrowsers.
430
// This is necessary because the code compiled by vue3-sfc-loader also require these polyfills.
- 'method': 'entry-global'
431
+ 'method': 'usage-global',
432
}
433
],
434
435
436
'polyfill-regenerator', {
- 'method': 'usage-pure'
437
+ 'method': 'usage-global'
438
439
]
440
] : [],
0 commit comments