Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does the default tsconfig.ts file have rootDir: '.' ? #573

Open
tylerlong opened this issue Sep 28, 2020 · 0 comments
Open

Why does the default tsconfig.ts file have rootDir: '.' ? #573

tylerlong opened this issue Sep 28, 2020 · 0 comments
Assignees

Comments

@tylerlong
Copy link

compilerOptions: {rootDir: '.', outDir: 'build'},

https://github.com/google/gts/blob/master/src/init.ts#L239

The config file should be minimal. It should not contain configurations which are not necessary.

Every time I run gts init, I need to manually remove rootDir: '.' because it doesn't make sense to my project.

@tylerlong tylerlong changed the title Why the does default tsconfig.ts file have rootDir: '.' ? Why does the default tsconfig.ts file have rootDir: '.' ? Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants