Use case
Framework
Owner
ChakraUI/V3/Update Chakra Provider
- Updates the ChakraProvider import from @chakra-ui/react
- Renames the theme prop to value to match the new system-based theming approach
ChakraUI/V3/Refactor Custom Theme
- Replaces extendTheme with createSystem and defaultConfig.
- Updates your theme object to fit the new structure required by Chakra UI.
Webpack To Rspack/Migrate Terser Plugin
Change import and usage of from TerserPlugin to use included rspack.SwcJsMinimizerRspackPlugin.
Before
Webpack To Rspack/Migrate Html Plugin
Change import and usage of from html-webpack-tags-plugin to use includedhtml-rspack-tags-plugin.
Webpack To Rspack/Migrate Manifest Plugin
Change import from webpack-manifest-plugin torspack-manifest-plugin.
Webpack To Rspack/Replace Webpack Virtual Modules To Rspack Plugin Virtual Module
Change import from webpack-virtual-modules to rspack-plugin-virtual-module.
Webpack To Rspack/Community Csminimizer To Rspack Plugin
Change import and usage of from css-minimizer-webpack-plugin to use included rspack.LightningCssMinimizerRspackPlugin.
Before
Webpack To Rspack/Eslint Webpack Plugin To Eslint Rspack Plugin
Change import from eslint-webpack-plugin to eslint-rspack-plugin.
Before
Webpack To Rspack/Cssextractwebpackplugin Community To Included Plugin
Handles the migration of the CssExtractWebpackPlugin webpack plug-in into an included plugin in rspack.
Webpack To Rspack/Handling Built In Plugins Migrations
- Rspack has implemented most of webpack's built-in plugins, with the same names and configuration parameters, allowing for easy replacement.
- Replace the the include package from webpack to rspack one.
- Replaces the webpack object in the plugins array to rspack object.
- Handles only for supported and partially supported built-in plugins. (as of 11th Oct 2024)
Webpack To Rspack/Copywebpackplugin Community To Included Plugin
Handles the migration of the CopyWebpackPlugin web pack plug into an included plugin in rspack.
Webpack To Rspack/Remove Tsconfigpathsplugin Paths Plugin
Handles the migration of the TsconfigPathsPlugin web pack plug into an included plugin in rspack.
Webpack To Rspack/Remove Raw Loader To Type Asset Source
Rspack implements Webpack 5's Asset Modules, using asset modules to replace raw-loader to 'asset/source' for better performance.
Webpack To Rspack/Remove Url Loader To Type Asset Inline
Rspack implements Webpack 5's Asset Modules, using asset modules to replace url-loader to 'asset/inline' for better performance.
Webpack To Rspack/Remove File Loader To Type Asset Resource
Rspack implements Webpack 5's Asset Modules, using asset modules to replace file-loader to 'asset/resource' for better performance.
Webpack To Rspack/Migrate Update Babel Loader To Swc Loader
Using builtin:swc-loader offers better performance compared to the babel-loader and the external swc-loader, as it avoids frequent communication between JavaScript and Rust.
Styledictionary/4/Hook Api Filters
This codemod updates registered filters to be placed inside the
hooks.filters
property, instead offilter
. Note the shift from the singular to the plural form in this update.Styledictionary/4/Hook Api Transform Groups
This codemod updates registered transform groups to be placed inside the
hooks.transformGroups
property, instead oftransformGroup
, with a shift from the singular to the plural form.Styledictionary/4/Hook Api Transform
This codemod updates registered transforms to be placed inside the
hooks.transforms
property, instead oftransform
, with a shift from the singular to the plural form. Additionally, the name of the filter function has been changed frommatcher
tofilter
for consistency.Styledictionary/4/Hook Api Preprocessors
This codemod updates registered preprocessors to be placed inside the
hooks.preprocessors
property, instead ofpreprocessor
, with a shift from the singular to the plural form. Registered preprocessors now apply globally without requiring explicit application in the config.