thundra-io/serverless-plugin-thundra

How to set keepOutputDirectory to true when using serverless-bundle plugin

Closed this issue · 1 comments

serverless-bundle plugin does not seem to have an option to override keepOutputDirectory:true. By default, it gets removed on sls deploy command.

How can we keep .webpack folder with .js and jsmap files after deployment as we need it to be able to debug remotely using thundra.

and as specified here: https://apm.docs.thundra.io/node.js/online-debugging it asks for the path where js and js and jsmap files are in case using typescript

We've also discussed this issue in our Community Slack, similar to #45. So, I'm going to close this issue as well.

I believe the solution was to override the option in the installed serverless-webpack package in your own node_modules folder.

Thank you.