This example demonstrates how the ol@beta
package can be used with Rollup and the Closure Compiler in advanced mode.
Note that the Compiler takes a while to run.
Clone the project.
git clone [email protected]:32a5692bedac5254da24fa3b12072f35.git ol-rollup-closure
Install the project dependencies.
cd ol-rollup-closure
npm install
Create a bundle for the browser.
npm run build
Open index.html
to see the result.
open index.html