« get me outta code hell

web-routes: expose chroma.js in client code - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-04-30 21:44:42 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-31 12:11:46 -0300
commit6dbf976005f097b3737aa87d2d09239f7a37f330 (patch)
tree602555d6fa16933e1ca50cc787d7c35da0078644 /src/content
parentb705b488b04522a0d21da989015c40461f120c6e (diff)
web-routes: expose chroma.js in client code
Diffstat (limited to 'src/content')
-rw-r--r--src/content/dependencies/generatePageLayout.js4
1 files changed, 4 insertions, 0 deletions
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
@@ -624,6 +624,10 @@ export default {
             ]),
 
             html.tag('script', {
+              src: to('staticLib.path', 'chroma-js/chroma.min.js'),
+            }),
+
+            html.tag('script', {
               blocking: 'render',
               src: to('staticJS.path', 'lazy-loading.js'),
             }),