Welcome to the last chapter of Mastering OpenLayers 3. In your journey to master this library, you became familiar with quite a lot of concepts of OpenLayers 3. Until now, we used a full build of the library for our various purposes. This is good for learning, but it's not very effective in cases where we'd like to deploy an application. In most of cases, you will only need a small subset of the library's capabilities. To have a firm grip on the required subset, you will learn how to compile a custom build with Closure Compiler. You will also learn a few tricks to minimize your application even better and create documentation.
In this chapter, we will cover the following topics:
Building OpenLayers 3 with only a subset of features
Bundling an application with OpenLayers 3
Extending OpenLayers 3
Creating a rich API documentation automatically with JSDoc