Auto-detect threejs

This commit is contained in:
Joshua Goins 2025-01-03 13:47:42 -05:00
parent a82da00d14
commit b2697f13bb
2 changed files with 1 additions and 2 deletions

View file

@ -8,7 +8,6 @@ tags:
- GLSL
series:
- Graphics Dump
threejs: true
math: true
---

View file

@ -30,7 +30,7 @@
{{ partial "comments" . }}
{{ end }}
{{ if .Params.threejs }}
{{ if .HasShortcode "three-scene" }}
{{ $imagesloaded := resources.Get "js/three.js" }}
{{ if hugo.IsProduction }}
{{ $imagesloaded = $imagesloaded | minify | fingerprint | resources.PostProcess }}