https://github.com/ec-nordbund/rollup-plugin-leaflet
https://github.com/ec-nordbund/rollup-plugin-leaflet
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ec-nordbund/rollup-plugin-leaflet
- Owner: EC-Nordbund
- Created: 2021-02-01T13:16:05.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-06T18:38:32.000Z (over 4 years ago)
- Last Synced: 2025-03-17T22:23:22.518Z (2 months ago)
- Language: TypeScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rollup Plugin for Leaflet
Resolves leaflet with the es-module build wich doesn't expose L on window.
## Install
1. Run
```sh
yarn add @ec-nordbund/rollup-plugin-leaflet
```2. Add to your Plugins:
```js
import leaflet from "@ec-nordbund/rollup-plugin-leaflet";
// ...export default {
//...
plugins: [
//...
leaflet(),
//...
],
//...
};
```## IMPORTANT
Add this BEFORE node-resolver. As the resolvers are used in provided order!