You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very weird and hard to solve issue, it seems the latest version of babel is causing issues with the points renderer example where performance slows to a crawl while rendering. The issue arose in 28c9357 where babel was upgraded to 7.8.4 from 7.5.0.
Currently, commenting out the following lines from the webpack config (ie., removing babel entirely) seems to resolve the issue
npm run build
cd website
rm -rf node_modules/three-nebula
npm run link-src
npm run dev
And navigating to http://localhost:3000/examples/point-zone will show that the example is working as normal. If you run it with babel-loader the example grinds to a halt.
I've tried upgrading all babel dependencies to see if the issue has been subsequently fixed, but it seems it is still a problem.
Obviously I'd love to be able to solve this from the library's source code itself, but it's really hard right now to know exactly what is causing it. This could be related to babel/babel#11356
Right now there's a few options
Downgrade babel back to when it worked
Try to find whatever is causing this issue in the source code and fix it
Try to figure out what transformer in preset-env is causing the issue
If the linked babel issue is the problem, then dropping IE11 support would mean that the lib wouldn't need to transform ES6 classes into functions and dropping support would mean that this transformer could be excluded
The text was updated successfully, but these errors were encountered:
Very weird and hard to solve issue, it seems the latest version of babel is causing issues with the points renderer example where performance slows to a crawl while rendering. The issue arose in 28c9357 where babel was upgraded to
7.8.4
from7.5.0
.Currently, commenting out the following lines from the webpack config (ie., removing babel entirely) seems to resolve the issue
Doing this and then running
And navigating to http://localhost:3000/examples/point-zone will show that the example is working as normal. If you run it with
babel-loader
the example grinds to a halt.I've tried upgrading all babel dependencies to see if the issue has been subsequently fixed, but it seems it is still a problem.
Obviously I'd love to be able to solve this from the library's source code itself, but it's really hard right now to know exactly what is causing it. This could be related to babel/babel#11356
Right now there's a few options
preset-env
is causing the issueThe text was updated successfully, but these errors were encountered: