{% capture entry %}{% if layout.jsEntry %}{{ layout.jsEntry }}{% elsif page.jsEntry %}{{ page.jsEntry }}{% else %}default{% endif %}{% endcapture %}
{% vite_javascript_tag {{ entry }} %}
{% capture entry_legacy %}{{ entry }}-legacy.js{% endcapture %}