Skip to content

Rapid, but packaged with all dependencies included.

License

Notifications You must be signed in to change notification settings

rapideditor/rapid-standalone

Repository files navigation

npm version

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: facebook/Rapid#1482

The dependencies that we include are:

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.