Merge pull request #5981 from rbrtmrtn/patch-2

Update CONTRIBUTING.md
This commit is contained in:
Andrew 2018-01-10 18:27:33 +01:00 committed by GitHub
commit 3d4f691331
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,8 +101,8 @@ Happy coding!
### Using RollupJS ### Using RollupJS
The source javascript code for Leaflet is a few dozen files, in the `src/` directory. The source JavaScript code for Leaflet is a few dozen files, in the `src/` directory.
But normally, Leaflet is loaded in a web browser as just one javascript file. But normally, Leaflet is loaded in a web browser as just one JavaScript file.
In order to create this file, run `npm run rollup` or `yarn run rollup`. In order to create this file, run `npm run rollup` or `yarn run rollup`.
@ -115,7 +115,7 @@ When developing (or bugfixing) core Leaflet functionalities, it's common to use
the webpages in the `debug/` directory, and run the unit tests (`spec/index.html`) the webpages in the `debug/` directory, and run the unit tests (`spec/index.html`)
in a graphical browser. This requires regenerating the bundled files quickly. in a graphical browser. This requires regenerating the bundled files quickly.
In order to do so, run `npm run watch` or `yarn run rollup`. This will keep In order to do so, run `npm run watch` or `yarn run watch`. This will keep
on rebuilding the bundles whenever any source file changes. on rebuilding the bundles whenever any source file changes.
## Running the Tests ## Running the Tests