diff --git a/.travis.yml b/.travis.yml index 7677f3b00a..d1a52908dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -97,8 +97,8 @@ deploy: file: - dist/built/geo.js - dist/built/geo.min.js - - dist/built/geo.ext.js - - dist/built/geo.ext.min.js + - dist/built/geo.lean.js + - dist/built/geo.lean.min.js skip-cleanup: true on: tags: true diff --git a/CHANGELOG.md b/CHANGELOG.md index b6f3388337..0d93027c60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## Unreleased + +### Changes + +- Changed build process: optional dependencies are now included in the bundle by default (#890) + + ## Version 0.17.0 ### Features diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 403a64ba05..0a8d515f18 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -61,9 +61,11 @@ is needed. :: npm install npm run build -Compiled javascript libraries will be named ``geo.min.js`` and ``geo.ext.min.js`` in ``dist/built``. -The first file contains geojs and vgl bundled together with a number of dependent libraries. -The second file contains d3. The bundled libraries are minified, but source maps are provided +The compiled javascript libraries will be named ``geo.min.js`` and ``geo.lean.min.js`` in ``dist/built``. +The first file contains geojs including all optional dependencies. The second file is a version of +geojs without any of the third party dependencies such as d3 and Hammer; if you want to use the lean +bundle but need any of these dependencies, you must include them first in your page and expose them in +global scope under their standard names. The bundled libraries are minified, but source maps are provided. .. _quick-start-guide: @@ -76,7 +78,6 @@ and creating a basic full map using the `osmLayer` class. .. code-block:: html
-