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.
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 usingserverless offline
andcomposite: 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 theinclude
orfiles
pattern but I have added the files toincludes
in thetsconfig.json
that is picked up by this plugin.