Skip to content

Commit 6ce4bbe

Browse files
authored
chore: update customResolver deprecation message to mention enforce: 'pre' (#21576)
1 parent c2fe230 commit 6ce4bbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

guide/migration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ The following options are deprecated and will be removed in the future:
328328
- `worker.rollupOptions`: renamed to `worker.rolldownOptions`
329329
- `build.commonjsOptions`: it is now no-op
330330
- `build.dynamicImportVarsOptions.warnOnError`: it is now no-op
331-
- `resolve.alias[].customResolver`: Use a custom plugin with `resolveId` hook instead
331+
- `resolve.alias[].customResolver`: Use a custom plugin with `resolveId` hook and `enforce: 'pre'` instead
332332

333333
## Removed Deprecated Features [<Badge text="NRV" type="warning" />](#migration-from-v7)
334334

0 commit comments

Comments
 (0)