mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 11:44:05 +08:00
With this change we add the functionality to also match an allowed dependency against a package name. The package name is retrieved from the rawRequest. Previously, users needed to add the request path which in some case might be a deep import. Ex: `zone.js/dist/zone-error`. With this change adding the package name example `zone.js` will suffice. Closes: #18058