aws-esm-modules-layer-support icon indicating copy to clipboard operation
aws-esm-modules-layer-support copied to clipboard

For those who use serverless there is a plugin

Open luisdemarchi opened this issue 3 years ago • 3 comments

@vibe I would like to thank you for your solution, it works! Because of that I made a plugin for those who use serverless. Follow the link: https://www.npmjs.com/serverless-esm-layer

luisdemarchi avatar Sep 18 '22 11:09 luisdemarchi

Thank you for the plugin, @luisdemarchi. Have you managed to get the plugin to work successfully when your layers are built using Github Actions please? I get ERROR Error [ERR_MODULE_NOT_FOUND]: Cannot find package ... errors when I build the layer in GHA, but if I build my layers on my Mac then they work as expected.

john-tipper avatar Oct 08 '22 23:10 john-tipper

@john-tipper Unfortunately I don't use github actions. I successfully tested it by direct deploying on mac, from semaphoreci.com and aws codepipeline.

luisdemarchi avatar Oct 11 '22 13:10 luisdemarchi