- Ably FAQs
- Realtime API and client libraries
- Platform support
-
Account billing and packages
-
General
-
Realtime API and client libraries
-
Troubleshooting
-
Channels
-
REST API and client libraries
-
Ably error codes
-
Account and app setup and configuration
-
Ably architecture, transports, and security
-
Performance and Redundancy
-
Push Notifications
-
Reactor Queues, Events and Firehose
-
Migrating to Ably from an existing service
-
API Streamer
-
Connections
How do I use ably-js with Shep?
To use ably-js with shep, you'll need to specify it as a webpack external, and use a custom Shep buildCommand. So in your webpack config, add:
externals: {
'ably': 'ably'
},
and in the shep options object in your package.json, add:
"shep": {
"buildCommand": "webpack --bail && npm i ably@1 --prefix ./dist/function-name"
},
replacing "function-name" with your function name.