SINTEF-9012 / PruneCluster

Fast and realtime marker clustering for Leaflet
MIT License
551 stars 131 forks source link

Split build grunt task into dev and dist targets #147

Closed rhynix closed 7 years ago

rhynix commented 7 years ago

This splits the build task into two of which only the build task for the dev target generates a source map, as discussed in #146 . The dist target still outputs the resulting code into the dist directory, while the dev target uses a new directory called build. This directory is not checked into source control. The commands to build are build:dist and build:dev. Both build and the default task are aliases for the latter.

When building the dist target, two small unrelated changes showed up in dist/PruneCluster.js. This is probably due to changes in the original code that are not reflected yet in the build code. These changes are not part of this pull request.

This is the first time I work with Grunt, so I am very much open to feedback on this.

fungiboletus commented 7 years ago

Hei @rhynix

Thank you very much for this pull-request. I will build the library and check thedist/PruneCluster.js changes.