buildinginstructions.js icon indicating copy to clipboard operation
buildinginstructions.js copied to clipboard

Support for use as a javascript module

Open ldraw-org opened this issue 3 years ago • 1 comments

After having tried and failed, but it would be helpful if I could use buildinginstructions.js files as a javascript modules with an "import" command. I'm willing to admit maybe it's my lack of technical understanding and this is already possible so any pointers would also be helpful.

ldraw-org avatar Dec 18 '22 23:12 ldraw-org

Nope. You are right. three.js has also moved in that direction now, so it is something that should be done. It will also allow for pruning of three.js, so that the JS files can become smaller (and faster).

LasseD avatar Dec 19 '22 07:12 LasseD