fix(custom directory compilation): now picking up TypeScript files correctly

This commit is contained in:
Philipp Kunz 2019-01-27 19:21:07 +01:00
parent 93a332ba50
commit 1eb2b727aa

View File

@ -27,7 +27,7 @@ tsbuildCli.addCommand('custom').subscribe(argvArg => {
listedDirectories.shift();
const compilationCommandObject: {[key: string]: string} = {};
for (const directory of listedDirectories) {
compilationCommandObject['./' + directory] = './dist_' + directory;
compilationCommandObject[`./${directory}/**/*.ts`] = `./dist_${directory}`;
};
tsbuild.compileGlobStringObject(
compilationCommandObject,