-
Notifications
You must be signed in to change notification settings - Fork 432
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
size is TEN TIMES BIGGER since including turf #228
Comments
👍 💯 support this, feel free to send PR's to both libraries, TurfJS is also looking forward to implement Also we're in the process of converting to ES6 modules to enable bundlers like Rollup to be more efficient (🤞 coming soon... Turfjs/turf#960) |
@ivanjaros asked if we could exclude turf if the cutting feature is not used. Here is what I'm currently thinking about:
I'm in favor of 2. or 3. and I'll start searching for a replacement again this week as turf moved the In apps where I use |
Maybe the recent merge of Turfjs/turf#960 helps here with it's released in Turf 5.0? But not on npm? |
@codeofsumit Still a few more things that need to be done before we release Turf 5.0 on npm. At the moment there's a few modules that are published for testing purposes. |
seems it's now nice to move to new version. here I see only 2.61 for intersect: https://yarnpkg.com/en/package/@turf/intersect |
Almost there... posted a #255 (comment) which might solve the issue very soon. 🤞 |
This is the only thing I don't like about migrating from
|
@smeijer Turf already brought down @DenisCarriere is there a specific reason that difference has no 6.x version on npm? Github also has no 6.x releases. I'm a bit confused by turfs releases/versioning 🤔 |
According to NPM, https://www.npmjs.com/package/@turf/difference/v/6.0.1 I hope this also triggers the review of some PR's, and continued development of this awesome |
@smeijer @codeofsumit Maybe make sure you refresh your https://unpkg.com/@turf/difference@6.0.1/ You need to UPDATE => yarn.lock package.json |
Fixed via PR #300 |
turf is the dependency to calculate the necessary things to support the Cutting feature.
Turf thinks about replacing it's big dependency that's causing this size: Turfjs/turf#88
Another option would be to replace turf with martinez. Martinez still has some problems though and I wasn't able to make holes work with it due to this: w8r/martinez#44
Afaik, turf thinks about replacing their big dependency
jsts
with martinez too which would be my favorite option.Let's see 🤞
The text was updated successfully, but these errors were encountered: