chore: remove polyfill io (#4270)
This commit is contained in:
parent
2e9eb99b62
commit
04e240b385
@ -183,10 +183,6 @@
|
|||||||
href="<%= PUBLIC_URL %>assets/yandex-browser-manifest.json"
|
href="<%= PUBLIC_URL %>assets/yandex-browser-manifest.json"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- Built with: https://polyfill.io/v3/url-builder/ -->
|
|
||||||
<!-- Targets IE11 -->
|
|
||||||
<!-- <script
|
|
||||||
src="https://polyfill.io/v3/polyfill.min.js?flags=gated&features=default%2CObject.values%2CArray.prototype.flat%2CObject.entries%2CSymbol%2CArray.prototype.includes%2CString.prototype.repeat%2CArray.prototype.find"></script>!-->
|
|
||||||
<script
|
<script
|
||||||
rel="preload"
|
rel="preload"
|
||||||
as="script"
|
as="script"
|
||||||
|
|||||||
@ -179,10 +179,6 @@
|
|||||||
href="<%= PUBLIC_URL %>assets/yandex-browser-manifest.json"
|
href="<%= PUBLIC_URL %>assets/yandex-browser-manifest.json"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<!-- Built with: https://polyfill.io/v3/url-builder/ -->
|
|
||||||
<!-- Targets IE11 -->
|
|
||||||
<!-- <script
|
|
||||||
src="https://polyfill.io/v3/polyfill.min.js?flags=gated&features=default%2CObject.values%2CArray.prototype.flat%2CObject.entries%2CSymbol%2CArray.prototype.includes%2CString.prototype.repeat%2CArray.prototype.find"></script>!-->
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
window.PUBLIC_URL = '<%= PUBLIC_URL %>';
|
window.PUBLIC_URL = '<%= PUBLIC_URL %>';
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@ -37,9 +37,7 @@ language feature yet. Our earlier transpilation will rectify _syntax_
|
|||||||
discrepancies, but unimplemented features require a "temporary" implementation.
|
discrepancies, but unimplemented features require a "temporary" implementation.
|
||||||
That's where polyfills step in.
|
That's where polyfills step in.
|
||||||
|
|
||||||
You can utilize a service like [polyfill.io](https://polyfill.io/v3/) to
|
We previously used polyfill io, but due to a security vulnerability in the library, it's necessary to switch to alternative services.
|
||||||
auto-detect and apply polyfills as needed, or you can update the PWA build to
|
|
||||||
include polyfill's in your bundle by incorporating [core-js][core-js]
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Links
|
Links
|
||||||
|
|||||||
@ -37,9 +37,6 @@ language feature yet. Our earlier transpilation will rectify _syntax_
|
|||||||
discrepancies, but unimplemented features require a "temporary" implementation.
|
discrepancies, but unimplemented features require a "temporary" implementation.
|
||||||
That's where polyfills step in.
|
That's where polyfills step in.
|
||||||
|
|
||||||
You can utilize a service like [polyfill.io](https://polyfill.io/v3/) to
|
|
||||||
auto-detect and apply polyfills as needed, or you can update the PWA build to
|
|
||||||
include polyfill's in your bundle by incorporating [core-js][core-js]
|
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
Links
|
Links
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user