-
Notifications
You must be signed in to change notification settings - Fork 123
The tsconfig include property is not supported #381
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
Comments
+1 "scripts": {
"tsc": "tsc",
"test": "grunt test"
}, It works fine.
TypeScript 2.1 |
And even if I specify files in Grunt task via default : {
tsconfig: "tsconfig.json",
src: [
"src/**/*.ts",
"src/**/.*.ts",
"../../../Client/src/**/*.ts",
"../../../Client/src/**/.*.ts"
]
} |
@evil-shrike As a workaround, you can update the definition to be: {
ts: {
default: {
tsconfig: {
tsconfig: 'path/to/tsconfig.json',
passThrough: true,
updateFiles: false,
}
}
}
} This causes grunt-ts to call tsc with just the tsconfig.json file (and no files to compile). |
This is implemented in 6.0.0-beta.6 on npm. Sorry for the delay. Please give it a whirl and let me know if you hit any issues. |
I am going to close this issue as I believe it is resolved in the latest beta. Please feel free to reopen/comment. Thank you! |
The
include
option in the tsconfig.json file is not read bygrunt-ts
. It basically has the same behavior asfilesGlob
, but is officially supported.The text was updated successfully, but these errors were encountered: