There is now an ol package that makes this openlayers-prebuilt
package no longer necessary. Thanks OpenLayers team!
This is simply a pre-built copy of the OpenLayers 3 JavaScript with no npm dependencies.
- Install with npm:
npm install openlayers-prebuilt
The only reason this package exists is to provide a smaller npm dependency list for those that don't need all the OpenLayers build tooling. This package will be obsolete if these issues are resolved:
To update with a specific version of openlayers:
npm i openlayers@VERSION
rm -rf dist/
cp -r node_modules/openlayers/dist/ ./dist/
git commit -am "Updated to VERSION"
npm version VERSION
npm publish