Replies: 3 comments
-
Not sure I'm following your question - if three.js is a peer dependency of your package, it should not be included in your distributable. Consumers of your package will need to assure they've installed three.js in their projects. Dependency resolution is a responsibility of applications that use your project. |
Beta Was this translation helpful? Give feedback.
-
bundles three.js but in many cases a site using it will already have their own three.js - is it possible to fix this so it doesn't bundle three.js into the dist bundle? so this is how the question originally is |
Beta Was this translation helpful? Give feedback.
-
Your package should not include three.js in the distributable. |
Beta Was this translation helpful? Give feedback.
-
how to check if three.js is already installed in the dist folder and not install it again if installed already in the project
Beta Was this translation helpful? Give feedback.
All reactions