Skip to content

Commit b100c72

Browse files
authored
Merge pull request #53 from dwickern/js-error
fix error transpiling referenced javascript files
2 parents 1f172f0 + 89d761c commit b100c72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/typescript-preprocessor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class TypeScriptPreprocessor {
2020
// includes, always emit, and let Broccoli manage any outDir.
2121
this.config = JSON.parse(fs.readFileSync(path.join(process.cwd(), 'tsconfig.json')));
2222
this.config.compilerOptions.noEmit = false;
23+
this.config.compilerOptions.allowJs = false;
2324
delete this.config.compilerOptions.outDir;
2425
delete this.config.include;
2526
}

0 commit comments

Comments
 (0)