-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tweakpane is still included in the final client bundle #387
Comments
Ok, some more info. What I reported in the original message was the behavior when using For the sake of testing, I tried with yarn, and
so it is not resolving [14:32:51] ERROR [vite]: Rollup failed to resolve import "tweakpane" from "/home/stefano/Sviluppo/Personali/tresjs-playground/node_modules/@tresjs/cientos/dist/trescientos.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to So it seems that |
Hi @stefanobartoletti yes in order to delete the tweakpane from our dependencies, we need to do a breaking change. As we have another breaking changes, all with come in the v4 of cientos (we're waiting for the v4 of the core, now is done) You can see all the PRs open with the v4 tag #347. Tweakpane will be removed 100% in the v4 |
@JaimeTorrealba thanks, I just wanted to report it, glad that you were already aware ✌️ |
@alvarosabu I'm closing this, since it was solved in the latest version (and I can clean a bit my opened issue list :D ) |
Describe the bug
I noticed that my final client bundle is still including
tweakpane
, despite not being used in my project and apparently not even explicitly declared as a dependency in thecientos
package itself.There must be some problem when resolving dependencies I guess, or maybe
tweakpane
is somewhat automatically imported bycientos
somewhere.This is the dependency as resolved in
pnpm-lock.yaml
And this is the final client bundle:
Reproduction
https://github.com/stefanobartoletti/tresjs-playground
Steps to reproduce
to preview the final bundle
System Info
No response
Used Package Manager
pnpm
Code of Conduct
The text was updated successfully, but these errors were encountered: