mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-11 18:14:27 +00:00
add [].find to polyfill script
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
<script>
|
||||
(window.Promise && [].includes && Object.assign && window.Map && window.fetch) ||
|
||||
document.write('<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=default,fetch"><\/script>');
|
||||
document.write('<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=default,fetch,Array.prototype.find"><\/script>');
|
||||
</script>
|
||||
|
||||
<!-- Sapper generates a <style> tag containing critical CSS
|
||||
|
||||
Reference in New Issue
Block a user