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

Post compilation script support

Open m0hdasif opened this issue 5 years ago • 1 comments

Is there a way to execute command(s) after compilation from ts to js while running/deploying the application? I want to use link-module-alias in the project to support path aliases. For that plugin to use, I need to run its command after typescript conversion.

TS-JS conversion -> link-module-alias -> serverless offline/deploy

Please suggest me the solution.

m0hdasif avatar Mar 01 '20 18:03 m0hdasif

Hi Asif, you might be able to achieve that with this plugin: https://github.com/weixu365/serverless-scriptable-plugin

If you get a chance to try it, please post your findings here or in #96 so we can document a known solution for module aliases.

Thanks!

kaveet avatar Aug 21 '20 19:08 kaveet