We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06a21ab commit 3e4382eCopy full SHA for 3e4382e
lib/typescript-preprocessor.js
@@ -24,7 +24,13 @@ class TypeScriptPreprocessor {
24
annotation: 'TS files',
25
});
26
27
- const ts = tsc(tsFiles);
+ const ts = tsc(tsFiles, {
28
+ annotation: 'Compiled TS files',
29
+ compilerOptions: {
30
+ allowJs: false, // don't compile JS here; let Babel manage that
31
+ noEmit: false, // we *must* emit for Broccoli to do its thing
32
+ },
33
+ });
34
35
// Put everything together.
36
return new MergeTrees([js, ts], {
0 commit comments