From 6dbf976005f097b3737aa87d2d09239f7a37f330 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 30 Apr 2024 21:44:42 -0300 Subject: web-routes: expose chroma.js in client code --- src/content/dependencies/generatePageLayout.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/content') diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js index 824b3c04..f4b7e7a7 100644 --- a/src/content/dependencies/generatePageLayout.js +++ b/src/content/dependencies/generatePageLayout.js @@ -623,6 +623,10 @@ export default { slots.styleRules, ]), + html.tag('script', { + src: to('staticLib.path', 'chroma-js/chroma.min.js'), + }), + html.tag('script', { blocking: 'render', src: to('staticJS.path', 'lazy-loading.js'), -- cgit 1.3.0-6-gf8a5