diff --git a/OpenLayers-v5.x.md b/OpenLayers-v5.x.md index d1a890c..0de1a40 100644 --- a/OpenLayers-v5.x.md +++ b/OpenLayers-v5.x.md @@ -47,6 +47,12 @@ For the build environment, you can use anything that works with ES2015 modules. As an interim solution, when working with webpack, the [closure-loader](https://www.npmjs.com/package/closure-loader) may help to make OpenLayers 5.x work with existing [closure-util](https://npmjs.com/package/closure-util) based applications. +### Users of custom builds + +We recommend switching to a webpack based setup and import only what's needed from the [ol](https://npmjs.com/package/ol) package. See the [ol](https://npmjs.com/package/ol) package README for examples of how to setup and use OpenLayers like that for your application. + +As an interim solution, you can use the full build (`ol.js` or `ol-debug.js`) instead. + ## Type definitions and type checking TBD \ No newline at end of file