Looking to incorporate three.js into a Google Web Script to load 3D CAD files, I discovered that the installation instructions on threejs.org specify the script needs to be of "module" type. However, after researching for several days, it seems that Google Web App Script does not support the "module" type.
Has anyone successfully used three.js with a Google Script before? Any insights or experiences shared would be greatly appreciated. Otherwise, I may have to reconsider my approach to loading CAD data on the web app I am developing.
<script type="module">
// Find the latest version by visiting https://unpkg.com/three. The URL will
// redirect to the newest stable release.
import * as THREE from 'https://unpkg.com/three/build/three.module.js';
const scene = new THREE.Scene();
</script>