-
Notifications
You must be signed in to change notification settings - Fork 118
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
webpack4 tree-shaking fail with version 2.25.1 #287
Comments
Same problem in Tresjs we use vite is not only with webpack |
🎉 This issue has been resolved in version 2.26.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Reverted recent changes in #290 since we had bad downstream effects in-between. WRT tree-shaking, is that still an issue in the specific |
|
🎉 This issue has been resolved in version 2.26.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Still present with version |
Can you share a reproduction or how you're encountering this? |
I wasn't able to run the attached test suite due to missing dependencies/config, but I was able to narrow down potential issues I've fixed in v2.26.7. Can you confirm on your end that this tree-shakes precisely to |
Updated the zip, forgot to include hidden files. |
Ah, vendored the wrong version. Put out a hotfix in 2.26.8. I'll double check with the above files. |
Hey there, it might not be only webpack, with vite and |
I have no observability unless you use the latest version. We ship sourcemaps and no longer consume most libraries from NPM by blind chance that helps here since I've received no feedback and cannot reproduce as such. On that note, I additionally have #306 which may crudely help here in bypassing the tree-shaking mechanism altogether. |
🎉 This issue has been resolved in version 2.27.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@CodyJasonBennett just updated to |
three-stdlib
version: 2.25.1Problem description:
I use @react-three/drei for my 3D Scene in a webpack 4 project. after update three-stdlib version 2.25.1, I found that all three-stdlib.js build in the bundle. but it's ok (tree-shaking) in version 2.25.0
Suggested solution:
I found some change in this commit 644d2ad
if this is realy a bug ?
The text was updated successfully, but these errors were encountered: