From 2f60627be047ad54f1e4ddb87100d3160d6ae725 Mon Sep 17 00:00:00 2001 From: Jan Umbach Date: Thu, 13 Jun 2024 20:00:07 +0200 Subject: [PATCH] shx-3d-render --- snippets/shx-3d-render-input.liquid | 1 + 1 file changed, 1 insertion(+) diff --git a/snippets/shx-3d-render-input.liquid b/snippets/shx-3d-render-input.liquid index be606f5..8b50e29 100644 --- a/snippets/shx-3d-render-input.liquid +++ b/snippets/shx-3d-render-input.liquid @@ -103,6 +103,7 @@ let script = document.createElement('script'); script.src = {{ 'three.module.min.js' | asset_url }}; script.id = 'threejs-script'; + script.type = "module"; document.head.appendChild(script); script.onload = () => {