Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrong params of the transform hook #4876

Merged
merged 2 commits into from Feb 25, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/plugin-development/index.md
Expand Up @@ -577,7 +577,7 @@ If a plugin does not return `true`, Rollup will trigger this hook for other plug

| | |
| --: | :-- |
| Type: | `({code: string, id: string}) => TransformResult` |
| Type: | `(code: string, id: string) => TransformResult` |
| Kind: | async, sequential |
| Previous: | [`load`](#load) where the currently handled file was loaded. If caching is used and there was a cached copy of that module, [`shouldTransformCachedModule`](#shouldtransformcachedmodule) if a plugin returned `true` for that hook |
| Next: | [`moduleParsed`](#moduleparsed) once the file has been processed and parsed |
Expand Down