Skip to content

[Rolldown] Use filter pattern for Vite hooks #1716

@aklinker1

Description

@aklinker1

Feature Request

In some plugins WXT uses, we use resolveId, load, and transform to modify specfic files. We need to use the filter feature to take advantage of rust.

The plugins that need updated are in the packages/wxt/src/core/builders/vite/plugins directory.

There are not unit tests for each of these plugins, but they are covered by E2E tests. So if pnpm test passes after your changes, nothing is broken.

Is your feature request related to a bug?

Apart of #1677

What are the alternatives?

Leave it as is and not take advantage of the native rust code.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions