#1627·wxt

[Module API] Filter which entrypoints plugins run in

Author: aklinker1Created Apr 28, 2025Updated Aug 24, 2026

Feature Request

Add a way to filter which entrypoints plugins are added to.

Specifically, modify the addWxtPlugin function like so:

typescript
export default defineWxtModule((wxt) => {
  addWxtPlugin(
    wxt,
    "wxt-module-analytics/client-plugin", 
    (entry /* or `group` */) => {
      return true
    },
  );
});

The third parameter should be optional and default to the current behavior of running the plugin in all entrypoints.

Is your feature request related to a bug?

If so, add a link here. If not, write "N/A"