serverless / serverless-plugin-typescript

Serverless plugin for zero-config Typescript support
MIT License
783 stars 223 forks source link

fix: add all filenames discovered from parsed tsconfig options #223

Closed brazilianbytes closed 2 years ago

brazilianbytes commented 3 years ago

Hi there,

First of all, congrats by your fantastic work.

Trying to package a Serverless application created with Loopback 4 framework, the plugin is not considering to send to Typescript compiler all files, even if they are referenced to tsconfig file 'include'.

The tsconfig file parsed by the compiler shown in fileNames property all files detected by 'include'. I add there fileNames to plugin 'rootFileNames'.