Skip to content

chore: remove cdk testing from rollup globals #7169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions tools/package-tools/rollup-globals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,15 @@ 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',

// Include secondary entry-points of the cdk and material packages
...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',
Expand Down
2 changes: 1 addition & 1 deletion tools/tslint-rules/tsLoaderRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
}
};