Skip to content

Commit c835303

Browse files
committed
chore: add an option to specify which tsconfig to use.
1 parent 7ea69ad commit c835303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/broccoli/angular2-app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ class Angular2App extends BroccoliPlugin {
272272
var sourceTree = this._getSourceTree();
273273
var configTree = this._getConfigTree();
274274

275-
var tsConfigPath = path.join(this._sourceDir, 'tsconfig.json');
275+
var tsConfigPath = this._options.tsConfig || path.join(this._sourceDir, 'tsconfig.json');
276276
var tsconfig = JSON.parse(fs.readFileSync(tsConfigPath, 'utf-8'));
277277

278278
// Add all glob files to files. In some cases we don't want to specify

0 commit comments

Comments
 (0)