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
Right now, my test directory code is getting included in the webpack package built and uploaded to AWS Lambda. How can I exclude this directory? I tried different things from https://webpack.github.io/docs/configuration.html but none have helped so far.
The text was updated successfully, but these errors were encountered:
@brianjd I tried the above but my expect statements from test/ directory are still being included in my webpack'd and zipped handler.js file. I don't need to have that code in AWS Lambda.
@ramanbuttar@mpuittinen Approach looks solid, it dynamically generates entry points for each function using the serverless config. Therefore avoiding the tests being bundled, especially if you previously had broad directory inclusion / entry points.
Right now, my test directory code is getting included in the webpack package built and uploaded to AWS Lambda. How can I exclude this directory? I tried different things from https://webpack.github.io/docs/configuration.html but none have helped so far.
The text was updated successfully, but these errors were encountered: