Angular complaining on commonjs optimization bailouts
Version: 6.5
When installed in an angular project - it complains that importing commonjs can cause optimization bailouts. The following packages are the culprits:
- geojson-rbush
- geojson-equality
- density-clustering
- skmeans
- rbush
- concaveman
- deep-equal
Is there any chance somehow to tackle it?
Hi @Harpush. Could you please try one of the recent alpha releases to see if they fix this issue for you? We've changed around the way Turf is packaged for esmodules and commonjs.
@smallsaucepan I somehow didn't see the comment. I will check it. Anyway brush is now esm: https://github.com/mourner/rbush/issues/134#issuecomment-2194104597 Maybe an update is needed
Thanks @harpush. We will definitely check that out. Reopen this issue if this problem still occurs with v7.