serverless / serverless-plugin-typescript

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

Project is not build when using `composite:true` #225

Open aditya81070 opened 3 years ago

aditya81070 commented 3 years ago

The typescript provides project references to combine two projects using references and composite flag in compilerOptions. (Check this example on typescript docs).

I have set up a similar project except I am using serverless-plugin-typescript to work with serverless-offline + typescript. When I try to run the project using serverless offline and composite: false, the project is successfully built. As soon as I set this flag to true and run the project, it says that not all files are included in the include or files pattern but I have added the files to includes in the tsconfig.json that is picked up by this plugin.