diff --git a/tools/package-tools/rollup-globals.ts b/tools/package-tools/rollup-globals.ts index 3319cbb7646..e274f8d8049 100644 --- a/tools/package-tools/rollup-globals.ts +++ b/tools/package-tools/rollup-globals.ts @@ -42,7 +42,8 @@ export const rollupGlobals = { '@angular/common/testing': 'ng.common.testing', '@angular/http/testing': 'ng.http.testing', - + // Some packages are not really needed for the UMD bundles, but for the missingRollupGlobals rule. + '@angular/material-examples': 'ng.materialExamples', '@angular/material': 'ng.material', '@angular/cdk': 'ng.cdk', @@ -50,11 +51,6 @@ export const rollupGlobals = { ...rollupCdkEntryPoints, ...rollupMatEntryPoints, - // Some packages are not really needed for the UMD bundles, but for the missingRollupGlobals rule. - // TODO(devversion): remove by adding minimatch and better globbing to rules - '@angular/cdk/testing': 'ng.cdk.testing', - '@angular/material-examples': 'ng.materialExamples', - 'rxjs/BehaviorSubject': 'Rx', 'rxjs/Observable': 'Rx', 'rxjs/Subject': 'Rx', diff --git a/tools/tslint-rules/tsLoaderRule.js b/tools/tslint-rules/tsLoaderRule.js index 4ba565f1b9d..85cf80d6ea2 100644 --- a/tools/tslint-rules/tsLoaderRule.js +++ b/tools/tslint-rules/tsLoaderRule.js @@ -10,4 +10,4 @@ require('ts-node').register({ // Add a noop rule so tslint doesn't complain. exports.Rule = class Rule extends Lint.Rules.AbstractRule { apply() {} -} +};