This example demonstrates how the ol
package can be used with Rollup.
Clone the project.
git clone git@github.com:openlayers/ol-rollup.git
Install the project dependencies.
cd ol-rollup
npm install
Create a bundle for the browser.
npm run build
Open index.html
to see the result.
open index.html