https://github.com/openlayers/ol-esbuild
OpenLayers + esbuild
https://github.com/openlayers/ol-esbuild
Last synced: 8 months ago
JSON representation
OpenLayers + esbuild
- Host: GitHub
- URL: https://github.com/openlayers/ol-esbuild
- Owner: openlayers
- Created: 2021-04-28T19:14:54.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-12-30T17:59:06.000Z (about 2 years ago)
- Last Synced: 2024-04-14T22:48:25.928Z (over 1 year ago)
- Language: JavaScript
- Size: 51.8 KB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# OpenLayers + esbuild
This example demonstrates how the `ol` package can be used with [esbuild](https://esbuild.github.io/).
To get started, run the following (requires Node 12+):
npx create-ol-app my-app --template esbuild
Then change into your new `my-app` directory and start a development server (available at http://127.0.0.1:8000/):
cd my-app
npm start
To generate a build ready for production:
npm run build
Then deploy the contents of the `dist` directory to your server.