From 87cff7f1b9ce4ab0f83368091d1f708a8ad3ef4c Mon Sep 17 00:00:00 2001 From: Miao Wang Date: Sun, 14 Apr 2024 10:23:10 +0800 Subject: [PATCH] change polyfill code for Safari10 to unminified --- _includes/vite_script.html | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/_includes/vite_script.html b/_includes/vite_script.html index a7607ac..623f509 100644 --- a/_includes/vite_script.html +++ b/_includes/vite_script.html @@ -1,7 +1,25 @@ {% capture entry %}{% if page.layout and layout.jsEntry %}{{ layout.jsEntry }}{% elsif page.jsEntry %}{{ page.jsEntry }}{% else %}default{% endif %}{% endcapture %} {% vite_javascript_tag {{ entry }} %} {% capture legacyFile %}{% vite_asset_path {{ entry }}-legacy.js %}{% endcapture %}