Hello! This PR aims to bring rbush up to the latest version, in turn fixing bundling issues with bundlers such as Webpack and Vite. This is an upstream issue for us on the turf project. This in theory is just a small change to bumping the package.json to use rbush 3.0.1 and to use new instead of just accessing the function directly (the rbush module has been rewritten as ESM).
Hello! This PR aims to bring rbush up to the latest version, in turn fixing bundling issues with bundlers such as Webpack and Vite. This is an upstream issue for us on the
turf
project. This in theory is just a small change to bumping the package.json to userbush
3.0.1 and to usenew
instead of just accessing the function directly (the rbush module has been rewritten as ESM).