Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: replace polyfill.io #1675

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions samples/playground.html.njk
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ preconnect:
- fonts.googleapis.com
- khms0.googleapis.com
- khms1.googleapis.com
- polyfill.io
- cdnjs.cloudflare.com
---
<!DOCTYPE html>
<html lang="en">
Expand Down Expand Up @@ -38,4 +38,4 @@ preconnect:
</head>
<body>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions src/_includes/layout.njk
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<html {% if rtl == "true" %}dir="rtl"{% endif -%}>
<head>
<title>{{ title }}</title>
{% block polyfill -%}<script src="https://polyfill.io/v3/polyfill.min.js?features=default"></script>{% endblock -%}
{% block polyfill -%}<script src="https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?features=default"></script>{% endblock -%}
{% block external -%}{% endblock -%}
{% if mode == "playground" %}
<!-- playground-hide -->
Expand Down Expand Up @@ -52,4 +52,4 @@
{% endblock %}
</body>
</html>
<!-- [END maps_{{tag}}] -->
<!-- [END maps_{{tag}}] -->