-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Option to disable CommonJS/AMD warnings. #25784
Copy link
Copy link
Closed
Labels
angular/build:applicationarea: @angular-devkit/build-angulardevkit/build-angular:browserfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: votes requiredFeature request which is currently still in the voting phaseFeature request which is currently still in the voting phasegood first issueLabel noting a good first issue to be worked on by a community memberLabel noting a good first issue to be worked on by a community memberhelp wantedLabel noting an issue which the team is looking for contribution from the community to fixLabel noting an issue which the team is looking for contribution from the community to fix
Description
Which @angular/* package(s) are relevant/related to the feature request?
compiler
Description
In a real world applications it's impossible to 100% avoid CommonJS/AMD dependencies. Either because of need or indirect dependencies which cannot be changed.
Proposed solution
Instead of filling the allowedCommonJsDependencies array, add an option to disable all warnings.
Alternatives considered
Or allow wildcard * to allow all.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
angular/build:applicationarea: @angular-devkit/build-angulardevkit/build-angular:browserfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: votes requiredFeature request which is currently still in the voting phaseFeature request which is currently still in the voting phasegood first issueLabel noting a good first issue to be worked on by a community memberLabel noting a good first issue to be worked on by a community memberhelp wantedLabel noting an issue which the team is looking for contribution from the community to fixLabel noting an issue which the team is looking for contribution from the community to fix