Skip to content

Commit

Permalink
Merge pull request #29 from Leaflet/rollup
Browse files Browse the repository at this point in the history
Streamline the build process by switching more pieces to RollupJS
  • Loading branch information
perliedman committed Dec 2, 2016
2 parents 3ae6ff2 + c43caa3 commit fd327e6
Show file tree
Hide file tree
Showing 20 changed files with 395 additions and 696 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

## 1.2.0

* Refactored the code modules into ES6 modules
* Switched the build system and dependencies to use RollupJS

## 1.1.0

* Support for mouse/pointer events on geometries (by @perliedman)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Internally, Leaflet.VectorGrid uses two classes named `L.SVG.Tile` and `L.Canvas
## Developing
Run `npm install`, then run the `build-script/browserify-dependencies.sh` script. The dependencies do not provide browser-ready packages, see for example [mapbox/geojson-vt#52](https://github.com/mapbox/geojson-vt/pull/52).
Run `npm install`.
## TODO
Expand Down
35 changes: 0 additions & 35 deletions build-script/browserify-dependencies.sh

This file was deleted.

6 changes: 3 additions & 3 deletions demo/demo-geojson.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<meta charset="utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./leaflet.css" />
<script src="./leaflet-src.js"></script>
<script src="../Leaflet.VectorGrid.bundled.js"></script>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.2/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.0.2/dist/leaflet.js"></script>
<script src="../dist/Leaflet.VectorGrid.bundled.js"></script>

<script type="text/javascript" src="./eu-countries.js"></script>

Expand Down
6 changes: 3 additions & 3 deletions demo/demo-points.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="stylesheet" href="./leaflet.css" />
<script src="./leaflet-src.js"></script>
<script src="../Leaflet.VectorGrid.bundled.js"></script>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.2/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.0.2/dist/leaflet.js"></script>
<script src="../dist/Leaflet.VectorGrid.bundled.js"></script>
</head>
<body style='margin:0'>
<div id="map" style="width: 100vw; height: 100vh"></div>
Expand Down
9 changes: 3 additions & 6 deletions demo/demo-topojson.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,9 @@
<meta charset="utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./leaflet.css" />
<script src="./leaflet-src.js"></script>
<script src="../Leaflet.VectorGrid.bundled.js"></script>

<script type="text/javascript" src="./eu-countries.js"></script>

<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.2/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.0.2/dist/leaflet.js"></script>
<script src="../dist/Leaflet.VectorGrid.bundled.js"></script>
</head>
<body style='margin:0'>
<div id="map" style="width: 100vw; height: 100vh"></div>
Expand Down
6 changes: 3 additions & 3 deletions demo/demo-vectortiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="stylesheet" href="./leaflet.css" />
<script src="./leaflet-src.js"></script>
<script src="../Leaflet.VectorGrid.bundled.js"></script>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.2/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.0.2/dist/leaflet.js"></script>
<script src="../dist/Leaflet.VectorGrid.bundled.js"></script>
</head>
<body style='margin:0'>
<div id="map" style="width: 100vw; height: 100vh"></div>
Expand Down
78 changes: 0 additions & 78 deletions demo/demo.html

This file was deleted.

57 changes: 0 additions & 57 deletions demo/map-panes-example.html

This file was deleted.

0 comments on commit fd327e6

Please sign in to comment.