Skip to content

add option to parameterize LicenseWebpackPlugin #7819

@tahubu

Description

@tahubu

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Desired functionality.

I think, it would be nice to set the pattern attribute of the LicenseWebpackPlugin plugin in the .angular-cli.json file. Here is an example:

{
  "defaults": {
    "build": {
      "license": {
        "pattern":  "^(.*)$",
        "unacceptablePattern": "^(GPL.*)$",
        "abortOnUnacceptableLicense": true,
        "includePackagesWithoutLicense": true
      }
    }
  }
}

With this option we do not limit our to show only the (MIT|ISC|BSD.*) licenses and packages in the 3rdpartylicenses.txt file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions