-
Notifications
You must be signed in to change notification settings - Fork 74
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
@taskr/typescript support for tsconfig.json #309
Labels
Comments
Hey, thanks~! Right now the plugin is only expecting programmatic options, which correlate to the Compiler Options. If you wanted to use an existing export async function scripts(task) {
let data = require('./tsconfig');
// If using tsconfig for "source" you must handle that on your own
let files = data.files.map(handler) || 'src/**/*.ts';
await task.source(files).typescript(data.compilerOptions).target('...');
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
thanks for this project. I was wondering if there is a way to use the options for the typescript compiler coming from the tsconfig.json.
The text was updated successfully, but these errors were encountered: