mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-26 05:02:48 +00:00
6 lines
438 B
HTML
6 lines
438 B
HTML
{% capture entry %}{% if page.layout and layout.jsEntry %}{{ layout.jsEntry }}{% elsif page.jsEntry %}{{ page.jsEntry }}{% else %}default{% endif %}{% endcapture %}
|
|
{% vite_javascript_tag {{ entry }} %}
|
|
{% capture entry_legacy %}{{ entry }}-legacy.js{% endcapture %}
|
|
<script src="{% vite_asset_path /vite/legacy-polyfills-legacy %}" defer nomodule></script>
|
|
<script src="{% vite_asset_path {{ entry_legacy }} %}" defer nomodule></script>
|