fix: Fix PWA (#6090)

This commit is contained in:
Michael Genson
2025-09-03 00:44:52 -05:00
committed by GitHub
parent 37789c342e
commit ff958a5015
28 changed files with 109 additions and 110 deletions

View File

@@ -174,7 +174,7 @@ the code generation ID is hardcoded into the script and required in the nuxt con
def inject_nuxt_values():
all_date_locales = [
f'"{match.stem}": require("./lang/dateTimeFormats/{match.name}"),' for match in datetime_dir.glob("*.json")
f'"{match.stem}": () => import("./lang/dateTimeFormats/{match.name}"),' for match in datetime_dir.glob("*.json")
]
all_langs = []