ol & ol-layerswitcher with Webpack This example demonstrates how the ol package and ol-layerswitcher with Webpack. Install the project dependencies. npm install Create a bundle for the browser. npm run build Open index.html to see the result. open index.html