From bb5b1de04cea97d9f09f9b1c37515aa835e00762 Mon Sep 17 00:00:00 2001 From: bach Date: Tue, 15 Sep 2026 14:16:52 +0200 Subject: [PATCH] js build fix ? --- web/themes/custom/leshed/leshed.libraries.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/themes/custom/leshed/leshed.libraries.yml b/web/themes/custom/leshed/leshed.libraries.yml index 15ebba4..5a7d2a3 100644 --- a/web/themes/custom/leshed/leshed.libraries.yml +++ b/web/themes/custom/leshed/leshed.libraries.yml @@ -4,8 +4,8 @@ global: # defer : s'exécute après titles.js (defer dans le head), ordre du document. assets/dist/main.js: attributes: + type: module defer: true - # assets/js/main.js: {} css: theme: assets/dist/main.css: {} @@ -17,6 +17,7 @@ titles: js: assets/dist/titles.js: attributes: + type: module defer: true titles_hmr: