You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These are only providing the type definitions and ideally should be in devDependencies folder.
This create the issue of large package size. On doing production npm install npm install --production
Size of node_modules folder is 5.33MB of which @types folder is of 4.08 MB
This is significant in the use case when this library is used in AWS Lambda - who is known to have higher cold start time dependeing on the package size
Package json should be updated and has only those dependenies which are required for production code
Reproduction
Install the dependencies using npm install --production
Additional context
No response
jwks-rsa version
3.1.0
Node.js version
18.17.0
The text was updated successfully, but these errors were encountered:
Checklist
Description
Package json of the project has 2 packages only for types
These are only providing the type definitions and ideally should be in devDependencies folder.
This create the issue of large package size. On doing production npm install
npm install --production
Size of
node_modules
folder is 5.33MB of which@types
folder is of 4.08 MBThis is significant in the use case when this library is used in AWS Lambda - who is known to have higher cold start time dependeing on the package size
Package json should be updated and has only those dependenies which are required for production code
Reproduction
Install the dependencies using
npm install --production
Additional context
No response
jwks-rsa version
3.1.0
Node.js version
18.17.0
The text was updated successfully, but these errors were encountered: