StackToolbox / aws-sam-webpack-plugin

A Webpack plugin to replace the build step for SAM CLI
MIT License
147 stars 29 forks source link

Best way of building source code when other runtimes exist in the project #55

Closed AndrewZelaya closed 3 years ago

AndrewZelaya commented 3 years ago

Wondering what exactly is the best way to use the plugin, and maintain the same file directory of "src/", but where not all functions are in the node runtime?

My project has a mix of lambda that are written in node, while others are written in python. Is there a better alternative than just building them as separate projects?

buggy commented 3 years ago

You need to build the Lambda as separate projects. One of the early decisions was to optimize the experience for Node developers even if that meant not supporting other runtimes.