Skip to content

Commit

Permalink
Default ServerTypings to use PreferRelativePaths = true as it causes …
Browse files Browse the repository at this point in the history
…less problems when there is no '@/*' mapping in tsconfig.json or it is in a base file in another directory and there is no baseUrl: "." configuration in tsconfig.json
  • Loading branch information
volkanceylan committed Sep 11, 2024
1 parent ce5d475 commit e8bc50f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/sleekgrid
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public override ExitCodes Run()
LocalTexts = config.ServerTypings != null && config.ServerTypings.LocalTexts,
ModuleReExports = config?.ServerTypings?.ModuleReExports != false
};
if (config?.ServerTypings?.PreferRelativePaths == true)
if (config?.ServerTypings?.PreferRelativePaths ?? true)
{
generator.ModulesPathAlias = null;
generator.RootPathAlias = null;
Expand Down

0 comments on commit e8bc50f

Please sign in to comment.