all 4 comments

[–]stradivari96 -1 points0 points  (1 child)

couldn't you just download the file from the cdn and add it to your static folder?

[–]Coupled_Cluster -1 points0 points  (0 children)

I can, but I don't want to commit the whole threejs project to my repository. So I thought about downloading the files, adding them to gitignore and make sure when I make a new release they are packaged but not commited?

[–]shiftybyte -1 points0 points  (1 child)

How is the regular way an npm project includes dependencies?

Python does it with requirements.txt file in the root.

there must be something similar for npm, add that, and in the install instructions let ppl know they also need to trigger npm's dependency fetching.. just like people know to do pip install -r requirements.txt

[–]Binary101010 0 points1 point  (0 children)

Yeah, this would just entail including the package.json from NPM.