feat: Improve tsconfig.json import handling in runtime.Start function
This commit is contained in:
parent
42b42e1134
commit
a0729bbde0
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ func Start(cfg config.Config) error {
|
|||
}
|
||||
|
||||
// Read the tsconfig.json
|
||||
if cfg.Runtime.Import {
|
||||
if cfg.Runtime.Import && application.App != nil {
|
||||
if exist, _ := application.App.Exists("tsconfig.json"); exist {
|
||||
var tsconfig v8.TSConfig
|
||||
raw, err := application.App.Read("tsconfig.json")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue