Skip to content

Commit

Permalink
chore(rsbuild): add migration notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 committed Dec 17, 2024
1 parent 57b22b2 commit bfafefd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/rsbuild/src/utils/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@ export const rsbuildPluginReactVersion = '1.1.0';
export const rsbuildPluginSassVersion = '1.1.2';
export const rsbuildPluginLessVersion = '1.1.0';
export const rsbuildPluginStyledComponentsVersion = '1.1.0';

/**
* These versions need to line up with the version of the swc_core crate Rspack uses for the version of Rsbuild above
* Checking the `cargo.toml` at https://github.com/web-infra-dev/rspack/blob/main/Cargo.toml for the correct Rspack version
* is the best way to ensure that these versions are correct.
*
* The release notes for the packages below are very helpful in understanding what version of swc_core crate they require.
*/
export const rsbuildSwcPluginEmotionVersion = '^7.0.3';
export const rsbuildSwcPluginStyledJsxVersion = '^5.0.2';

0 comments on commit bfafefd

Please sign in to comment.