chore: remove polyfill io (#4270)

This commit is contained in:
Alireza 2024-06-28 09:31:47 -04:00
parent 2e9eb99b62
commit 04e240b385
4 changed files with 1 additions and 14 deletions

View File

@ -183,10 +183,6 @@
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
rel="preload"
as="script"

View File

@ -179,10 +179,6 @@
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">
window.PUBLIC_URL = '<%= PUBLIC_URL %>';
</script>

View File

@ -37,9 +37,7 @@ language feature yet. Our earlier transpilation will rectify _syntax_
discrepancies, but unimplemented features require a "temporary" implementation.
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]
We previously used polyfill io, but due to a security vulnerability in the library, it's necessary to switch to alternative services.
<!--
Links

View File

@ -37,9 +37,6 @@ language feature yet. Our earlier transpilation will rectify _syntax_
discrepancies, but unimplemented features require a "temporary" implementation.
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