commit
3d4f691331
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user