Skip to content

Commit

Permalink
apacheGH-34567: [JS] Improve build and do not generate bin/bin dire…
Browse files Browse the repository at this point in the history
…ctory

Signed-off-by: abetomo <abe@enzou.tokyo>
  • Loading branch information
abetomo committed Jul 16, 2023
1 parent 05620b1 commit 223e9d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/gulp/typescript-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default typescriptTask;
export function compileBinFiles(target, format) {
const out = targetDir(target, format);
const tsconfigPath = path.join(`tsconfig`, `tsconfig.${tsconfigName('bin', 'cjs')}.json`);
return compileTypescript(path.join(out, 'bin'), tsconfigPath, { target });
return compileTypescript(out, tsconfigPath, { target });
}

function compileTypescript(out, tsconfigPath, tsconfigOverrides) {
Expand Down
2 changes: 1 addition & 1 deletion js/tsconfig/tsconfig.base.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"exclude": ["../node_modules"],
"exclude": ["../node_modules", "../src/bin/*.ts"],
"include": ["../src/**/*.ts"],
"compileOnSave": false,
"compilerOptions": {
Expand Down

0 comments on commit 223e9d2

Please sign in to comment.