ol-webpack icon indicating copy to clipboard operation
ol-webpack copied to clipboard

OpenLayers + webpack

OpenLayers + Webpack

This example demonstrates how the ol package can be used with webpack.

Clone the project.

git clone [email protected]:openlayers/ol-webpack.git

Install the project dependencies.

cd ol-webpack
npm install

Create a bundle for the browser.

npm run build

Open index.html to see the result.

open index.html