Update RST docs to reflect new bundle structure
MODIFY
docs/quickstart.rst
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
<head>
- <script charset="UTF-8" src="/built/geo.ext.min.js"></script>
<script src="/built/geo.min.js"></script>
<style>

MODIFY
docs/users.rst
docs/users.rst
@@ -5,19 +5,12 @@ User's guide
Dependencies
------------
-GeoJS depends on several Javascript libraries that must be loaded
-prior to use as well as a few recommended libraries for optional
-features. As a convenience, we provide a bundle containing all
-required and optional dependencies in a single minified file.
-This bundle is built as ``dist/built/geo.ext.min.js``. If you
-are just building a simple page out of GeoJS like in the
-:ref:`quick start guide <quick-start-guide>`, this will probably
-work well; however, when using GeoJS as part of an application,
-you may need to customize the loading order or versions of the
-bundled applications. In this case, you may need to include the
-sources manually or bundle them yourself.
-
See the package.json file for a list of required and optional dependencies used by GeoJS.
+All libraries listed as optional dependencies are built into the main ``geo.min.js`` bundle,
+but are not present in the ``geo.lean.min.js`` bundle. If you want to use a subset of the
+optional dependencies, you can use the lean bundle and import any required dependency
+libraries into your page before the lean bundle, making sure that the library is exposed
+under its standard name in global scope.
.. note::

Update RST docs to reflect new bundle structure