-
Notifications
You must be signed in to change notification settings - Fork 699
Open
Labels
Description
Ported Plugins
We mark a plugin as aligned when its behavior generally matches the original Vite plugin. However, some differences may still exist but considered non-blocking:
- Certain edge cases may not yet be fully handled
- AST polyfill logic caused by regex-based matching will not be aligned (see vitejs/vite#14006)
- The
infoandwarnmessages may be inconsistent, sincethis.info/this.warnare not yet supported in plugin context
.
- aliasPlugin
- ~~Currently, ~~
~~\~\~customResolver\~\~~~is not supported due to potential performance concerns. -> The main difficulty is wrapping the Node-side context for standalone plugin hooks, since Rolldown currently wraps all plugins through the JS-side context. - Support
'vite:alias': { noResolved: true }meta data
- ~~Currently, ~~
- buildImportAnalysisPlugin
- Port
renderChunkhook logic - Port
generateBundlehook logic (related to asset and css plugins)
- Port
- dataUriPlugin (builtin)
- dynamicImportVarsPlugin
- importGlobPlugin
- jsonPlugin
- loadFallbackPlugin
- manifestPlugin
-
cssandassetsoptions are not yet supported as they depend onchunk.viteMetadata. More details ↗
-
- modulePreloadPolyfillPlugin
- reporterPlugin
- transformPlugin
- resolvePlugin (aligned by @sapphi-red)
- wasmFallbackPlugin
- wasmHelperPlugin
- Requires
fileToUrllogic, which should be ported from the asset plugin. See reference ↗
- Requires
- webWorkerPostPlugin
- definePlugin
- Implemented in
rolldown-vitebecause it relies on theoptionshook, which exists on the JS side
- Implemented in
Awaiting Porting
- assetPlugin
- assetImportMetaUrlPlugin
- cssPlugin
- htmlPlugin
- workerPlugin
- workerImportMetaUrl
Related Issues
Reactions are currently unavailable