create & load modules
mainDynamicModule (main.js)
import {cube, union} from '@jscad/core' import {foo} from '../foo.js' import culu from '/zborg/other.js' const main = () => { foo() console.log('from other modules', culu, cube(), union()) import('/zborg/other.js').then(x=> console.log('dynamic import', x)) } export {main}
secondDynamicModule (other.js)
export default 42