Package Exports
- package-build-stats
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 (package-build-stats) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
This is the cloud function that powers the core of building, minifying and gzipping of packages in bundlephobia. This is built using serverless. Make sure you have serverless installed on your machine using
npm i -g serverlessNote: The latest node version supported by AWS Lambda is only v6.10.0, and hence very limited ES6 must be used.
Commands
To start an offline server, use
yarn run startTo deploy,
sls deployTo see production server logs -
yarn run show-logs