serverless-plugin-browserify icon indicating copy to clipboard operation
serverless-plugin-browserify copied to clipboard

This function contains external libraries. Uploading a new file will override these libraries.

Open jamiechong opened this issue 7 years ago • 1 comments

When I view the browserfied lambda file on AWS I get this Warning:

This function contains external libraries. Uploading a new file will override these libraries.

The function seems to work correctly as all dependencies are within the single file. But I'm wondering what is triggering this warning?

jamiechong avatar Mar 06 '17 00:03 jamiechong

If I copy and paste the function code that is uploaded via serverless into a new Lambda function via AWS UI, I don't see this warning. Furthermore, the code size of the function I manually created is 25% smaller! The functions are (presumably) identical. Thoughts? Maybe something to do with compression?

jamiechong avatar Mar 06 '17 00:03 jamiechong