Skip to content

Commit fc66297

Browse files
committed
Update standalone.ts
1 parent fac6da5 commit fc66297

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/browser/src/browser/standalone.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ if (shouldPolyfill()) {
7575
// load polyfills in order to get AJS to work with old browsers
7676
const script = document.createElement('script')
7777
script.setAttribute(
78-
'src', // this should map to tsconfig lib. always,gated mean "always download all polyfills from the server, but only load them if a polyfill does not exist"
79-
'https://polyfill.io/v3/polyfill.min.js?features=es5,es2015,es2016,es2017,es2018,es2019,es2020&flags=always,gated'
78+
'src', // this should map to tsconfig lib. gated means "only load polyfill if feature does not exist"
79+
'https://polyfill.io/v3/polyfill.min.js?features=es5,es2015,es2016,es2017,es2018,es2019,es2020&flags=gated'
8080
)
8181

8282
if (document.readyState === 'loading') {

0 commit comments

Comments
 (0)