@rapideditor/rapid-standalone
v2.4.3
Published
Rapid, but packaged with all dependencies included
Downloads
76
Readme
rapid-standalone
This project is just a copy of Rapid, but with all dependencies included.
It is intended for running Rapid in a sandbox kind of environment behind a corporate firewall where it won't have access to fetch resources from the CDN at runtime.
See: https://github.com/facebook/Rapid/issues/1482
The dependencies that we include are:
- id-tagging-schema
- mapillary-js
- maplibre-gl-js
- name-suggestion-index
- osm-community-index
- pannellum
- wmf-sitematrix
Usage
You would "use" this by just installing it somewhere.
> npm install @rapideditor/rapid-standalone
The /dist
folder contains a copy of Rapid that is configured to not fetch resources from the CDN.
Build / Test
> npm install
> npm run build
To test:
> npm run start
Visit http://127.0.0.1:8080 and verify that Rapid starts and that it doesn't use the CDN.
Contributing
Please visit the main Rapid project if you want to contribute.
License
Rapid is available under the ISC License. See the LICENSE.md file for more details.