build(broccoli): AngularBuilder compiles with TypeScript 1.8+.
Beginning with 1.8, if a modules has both a .ts and .d.ts file, the .js file is not written. Closes #7947
This commit is contained in:
parent
a596b887ff
commit
85c1927993
|
@ -1,5 +0,0 @@
|
||||||
interface AngularBuilderOptions {
|
|
||||||
outputPath: string;
|
|
||||||
dartSDK?: any;
|
|
||||||
logs?: any;
|
|
||||||
}
|
|
|
@ -17,6 +17,12 @@ export type Options = {
|
||||||
useBundles: boolean;
|
useBundles: boolean;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export interface AngularBuilderOptions {
|
||||||
|
outputPath: string;
|
||||||
|
dartSDK?: any;
|
||||||
|
logs?: any;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* BroccoliBuilder facade for all of our build pipelines.
|
* BroccoliBuilder facade for all of our build pipelines.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/// <reference path="../../typings/node/node.d.ts" />
|
/// <reference path="../../typings/node/node.d.ts" />
|
||||||
/// <reference path="../angular_builder.d.ts" />
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
import {MultiCopy} from './../multi_copy';
|
import {MultiCopy} from './../multi_copy';
|
||||||
|
@ -12,6 +11,7 @@ var stew = require('broccoli-stew');
|
||||||
import ts2dart from '../broccoli-ts2dart';
|
import ts2dart from '../broccoli-ts2dart';
|
||||||
import dartfmt from '../broccoli-dartfmt';
|
import dartfmt from '../broccoli-dartfmt';
|
||||||
import replace from '../broccoli-replace';
|
import replace from '../broccoli-replace';
|
||||||
|
import {AngularBuilderOptions} from '../angular_builder';
|
||||||
|
|
||||||
var global_excludes = [
|
var global_excludes = [
|
||||||
'angular2/examples/**/ts/**/*',
|
'angular2/examples/**/ts/**/*',
|
||||||
|
|
Loading…
Reference in New Issue