serverless / serverless-plugin-typescript

Serverless plugin for zero-config Typescript support
MIT License
784 stars 225 forks source link

Is there anyway to run `serverless offline` without generate ".build" directory? #166

Open tomzaku opened 5 years ago

KingDarBoja commented 4 years ago

I don't think so, as the package does need to bundle the lambda .ts function on some folder before serving locally.

karlos1337 commented 3 years ago

How about running invoke local -f without transpiling if the file already exists?

The point is, serverless offline should be started for invoking any task and already transpiles all ts files so have no sense doing again the same on each invoke, and if you want to rebuild on each change could use serverless offline --watch so...