fix(custom directory compilation): now picking up TypeScript files correctly
This commit is contained in:
parent
93a332ba50
commit
1eb2b727aa
@ -27,7 +27,7 @@ tsbuildCli.addCommand('custom').subscribe(argvArg => {
|
|||||||
listedDirectories.shift();
|
listedDirectories.shift();
|
||||||
const compilationCommandObject: {[key: string]: string} = {};
|
const compilationCommandObject: {[key: string]: string} = {};
|
||||||
for (const directory of listedDirectories) {
|
for (const directory of listedDirectories) {
|
||||||
compilationCommandObject['./' + directory] = './dist_' + directory;
|
compilationCommandObject[`./${directory}/**/*.ts`] = `./dist_${directory}`;
|
||||||
};
|
};
|
||||||
tsbuild.compileGlobStringObject(
|
tsbuild.compileGlobStringObject(
|
||||||
compilationCommandObject,
|
compilationCommandObject,
|
||||||
|
Loading…
Reference in New Issue
Block a user