Open
Description
The plugin appears to only compile the .ts
files that contain handler functions. It should support compiling a project based on files/include/exclude in tsconfig.json
.
Use case:
I have my handler in handler.ts
, but I organize my helper functions in files at services/*.ts
. My tsconfig.json
looks like this:
{
"compilerOptions": {
"preserveConstEnums": true,
"strictNullChecks": true,
"sourceMap": true,
"target": "es5",
"outDir": ".build",
"moduleResolution": "node",
"lib": ["es2015"],
"rootDir": "./"
},
"include": [
"services/**/*",
"handler.ts"
]
}
If I run tsc
, all files will be compiled as expected to .build/
. If I build with this plugin, only handler.ts
gets compiled.