Package Exports
- serverless-cloudflare-workers
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (serverless-cloudflare-workers) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
serverless-cloudflare-workers
Serverless plugin for Cloudflare Workers
Documentation
https://serverless.com/framework/docs/providers/cloudflare/guide/quick-start/
Bundling with Webpack
You can have the plugin automatically bundle your code into one file using webpack. This is a great solution if you are fine with a no frills bundling.
Simply add webpack: true to your config block.
service:
name: my-service
config:
webpack: true
workers:
workerOne:
...