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

feature: support serverless invoke local

Open simonbuchan opened this issue 5 years ago • 4 comments

It would be nice if serverless invoke local would be piped through rollup, like with serverless-webpack. At the moment, it seems to be falling back to built in serverless behavior, and trying to directly invoke the source, which will probably fail due to using ES modules, not finding it (due to it being a .ts file) etc.

simonbuchan avatar Sep 10 '20 02:09 simonbuchan

@simonbuchan, thank you for the suggestion. I'll look into it!

theBenForce avatar Sep 10 '20 17:09 theBenForce

@theBenForce I haven't found the definitive answer to this problem. Is it already working with serverless-offline?

luisdemarchi avatar Sep 13 '22 12:09 luisdemarchi

There is no integration right now, but PRs are welcome!

perrin4869 avatar Sep 13 '22 13:09 perrin4869