Rule.issuer – what properties belong to it? What does the option do?

From you docs:

In a Rule the properties test, include, exclude and resource are matched with the resource and the property issuer is matched with the issuer.

You can either supply a Rule.resource option or use the shortcut options Rule.test, Rule.exclude, and Rule.include

So we have:

    {
        resource: {
            test: ...,
            include: ...,
            exclude: ...,
        },
        issuer: { ...boom?? }
    }

There is nothing for issuer in your reference. What properties belong to it? What is it for? What does issuer do?

Author: Fantashit

1 thought on “Rule.issuer – what properties belong to it? What does the option do?

  1. resource, issuer, resourceQuery and compiler can all have the same properties:

    issuer: {
      test: ...,
      include: ...,
      exclude: ....,
      and: ....,
      or: ....,
    },
    issuer: /regexp/,
    issuer: [{ ... }, { ... }] // matched with or

    @webpack-bot move to webpack/webpack.js.org

Comments are closed.