Closed universalhandle closed 3 years ago
I found that creating a tsconfig.json
file as a sibling of package.json
causes configs from the former to be read.
Without a tsconfig.json
, starting a local instance yields output (abridged) like:
> serverless offline start
Serverless: Compiling with Typescript...
Serverless: Typescript compiled.
Serverless: Watching typescript files...
When the file is present, this is acknowledged in the output:
> serverless offline start
Serverless: Compiling with Typescript...
Serverless: Using local tsconfig.json
Serverless: Typescript compiled.
Serverless: Watching typescript files...
I'm going to close this issue. If there's a desire for a pull request to update the README, I'm happy to do it -- just reopen this issue.
The README states:
This implies that other tsconfig options can be overwritten. However, the documentation doesn't state how. If this is possible, could you please elaborate on how?
Thanks!