From fce3931bb50307c7b26e1d6b20023580f900d330 Mon Sep 17 00:00:00 2001 From: neverland Date: Sun, 8 Sep 2024 20:32:49 +0800 Subject: [PATCH] chore: move vue jsx plugin to separate repo (#3409) --- e2e/package.json | 2 +- pnpm-lock.yaml | 155 +++++-------------- website/docs/en/guide/framework/vue3.mdx | 2 +- website/docs/en/guide/migration/vite.mdx | 2 +- website/docs/en/guide/migration/webpack.mdx | 2 +- website/docs/en/guide/start/features.mdx | 2 +- website/docs/en/guide/start/npm-packages.mdx | 10 -- website/docs/en/plugins/list/index.mdx | 2 +- website/docs/en/plugins/list/plugin-vue.mdx | 2 +- website/docs/zh/guide/framework/vue3.mdx | 2 +- website/docs/zh/guide/migration/vite.mdx | 2 +- website/docs/zh/guide/migration/webpack.mdx | 2 +- website/docs/zh/guide/start/features.mdx | 2 +- website/docs/zh/guide/start/npm-packages.mdx | 10 -- website/docs/zh/plugins/list/index.mdx | 2 +- website/docs/zh/plugins/list/plugin-vue.mdx | 2 +- 16 files changed, 56 insertions(+), 145 deletions(-) diff --git a/e2e/package.json b/e2e/package.json index 9f03988bb3..764cfc1db5 100644 --- a/e2e/package.json +++ b/e2e/package.json @@ -36,7 +36,7 @@ "@rsbuild/plugin-svgr": "workspace:*", "@rsbuild/plugin-swc": "workspace:*", "@rsbuild/plugin-vue": "workspace:*", - "@rsbuild/plugin-vue-jsx": "workspace:*", + "@rsbuild/plugin-vue-jsx": "^1.0.1", "@rsbuild/webpack": "workspace:*", "@module-federation/rspack": "0.6.0", "@scripts/test-helper": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fe5085a249..9c75381d51 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -139,8 +139,8 @@ importers: specifier: workspace:* version: link:../packages/plugin-vue '@rsbuild/plugin-vue-jsx': - specifier: workspace:* - version: link:../packages/plugin-vue-jsx + specifier: ^1.0.1 + version: 1.0.1(@babel/core@7.25.2)(@rsbuild/core@packages+core) '@rsbuild/webpack': specifier: workspace:* version: link:../packages/compat/webpack @@ -278,25 +278,6 @@ importers: specifier: ^3.5.0 version: 3.5.0(typescript@5.5.2) - e2e/cases/vue/jsx-hmr: - dependencies: - vue: - specifier: ^3.5.0 - version: 3.5.0(typescript@5.5.2) - devDependencies: - '@rsbuild/core': - specifier: workspace:* - version: link:../../../../packages/core - '@rsbuild/plugin-babel': - specifier: workspace:* - version: link:../../../../packages/plugin-babel - '@rsbuild/plugin-vue': - specifier: workspace:* - version: link:../../../../packages/plugin-vue - '@rsbuild/plugin-vue-jsx': - specifier: workspace:* - version: link:../../../../packages/plugin-vue-jsx - e2e/scripts: {} examples/lit: @@ -1093,31 +1074,6 @@ importers: specifier: ^3.5.0 version: 3.5.0(typescript@5.5.2) - packages/plugin-vue-jsx: - dependencies: - '@rsbuild/plugin-babel': - specifier: workspace:* - version: link:../plugin-babel - '@vue/babel-plugin-jsx': - specifier: 1.2.2 - version: 1.2.2(@babel/core@7.25.2) - babel-plugin-vue-jsx-hmr: - specifier: 1.0.0 - version: 1.0.0 - devDependencies: - '@babel/core': - specifier: ^7.25.2 - version: 7.25.2 - '@rsbuild/core': - specifier: workspace:* - version: link:../core - '@scripts/test-helper': - specifier: workspace:* - version: link:../../scripts/test-helper - typescript: - specifier: ^5.5.2 - version: 5.5.2 - scripts/config: devDependencies: '@types/node': @@ -1913,10 +1869,6 @@ packages: resolution: {integrity: sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.25.0': - resolution: {integrity: sha512-ubALThHQy4GCf6mbb+5ZRNmLLCI7bJ3f8Q6LHBSRlSKSWj5a7dSUzJBLv3VuIhFrFPgjF4IzPF567YG/HSCdZA==} - engines: {node: '>=6.9.0'} - '@babel/traverse@7.25.3': resolution: {integrity: sha512-HefgyP1x754oGCsKmV5reSmtV7IXj/kpaE1XYY+D9G5PvKKoFfSbiS4M77MdjuwlZKDIKFCffq9rPU+H/s3ZdQ==} engines: {node: '>=6.9.0'} @@ -2697,6 +2649,11 @@ packages: engines: {node: '>=16.7.0'} hasBin: true + '@rsbuild/plugin-babel@1.0.1-rc.5': + resolution: {integrity: sha512-8Tr566hx+dK5mQRqDNPCUvjPKWtmYdwKmFEuwNmCm5674VSzcTZmsPTK0df4A3ZTnvlowsQTiP6hhNW2DTi6cQ==} + peerDependencies: + '@rsbuild/core': ^1.0.1-rc.4 + '@rsbuild/plugin-check-syntax@1.0.1': resolution: {integrity: sha512-LN6OVmLJahFwv3dp9Q6k1E4GIpF78cUf7aXxKBvtvYXD0/rRP/1PPs4OWeyOqIcqSikcIdmERj50OECzPdWmpA==} peerDependencies: @@ -2736,6 +2693,14 @@ packages: '@rsbuild/core': optional: true + '@rsbuild/plugin-vue-jsx@1.0.1': + resolution: {integrity: sha512-+Oo6FT7hT5Jb8K43qOgwNP35nXZbCopIlSOFa9KC1DKBJ1n0VueqshRY4pP5pVl6R2BeU87RRnmv0pbc2hH5Mg==} + peerDependencies: + '@rsbuild/core': 1.x || ^1.0.1-beta.0 + peerDependenciesMeta: + '@rsbuild/core': + optional: true + '@rslib/core@0.0.4': resolution: {integrity: sha512-Zq4m6x/etNiqNfRRcoYKeAjzP5pTI2ZacNIAhDeBZqnMPXSzbBJC8ssHP0u0Rz+FnE9ForuhAgO1/LftroXe4A==} engines: {node: '>=16.0.0'} @@ -3326,27 +3291,15 @@ packages: peerDependencies: '@babel/core': ^7.0.0-0 - '@vue/compiler-core@3.4.38': - resolution: {integrity: sha512-8IQOTCWnLFqfHzOGm9+P8OPSEDukgg3Huc92qSG49if/xI2SAwLHQO2qaPQbjCWPBcQoO1WYfXfTACUrWV3c5A==} - '@vue/compiler-core@3.5.0': resolution: {integrity: sha512-ja7cpqAOfw4tyFAxgBz70Z42miNDeaqTxExTsnXDLomRpqfyCgyvZvFp482fmsElpfvsoMJUsvzULhvxUTW6Iw==} - '@vue/compiler-dom@3.4.38': - resolution: {integrity: sha512-Osc/c7ABsHXTsETLgykcOwIxFktHfGSUDkb05V61rocEfsFDcjDLH/IHJSNJP+/Sv9KeN2Lx1V6McZzlSb9EhQ==} - '@vue/compiler-dom@3.5.0': resolution: {integrity: sha512-xYjUybWZXl+1R/toDy815i4PbeehL2hThiSGkcpmIOCy2HoYyeeC/gAWK/Y/xsoK+GSw198/T5O31bYuQx5uvQ==} - '@vue/compiler-sfc@3.4.38': - resolution: {integrity: sha512-s5QfZ+9PzPh3T5H4hsQDJtI8x7zdJaew/dCGgqZ2630XdzaZ3AD8xGZfBqpT8oaD/p2eedd+pL8tD5vvt5ZYJQ==} - '@vue/compiler-sfc@3.5.0': resolution: {integrity: sha512-B9DgLtrqok2GLuaFjLlSL15ZG3ZDBiitUH1ecex9guh/ZcA5MCdwuVE6nsfQxktuZY/QY0awJ35/ripIviCQTQ==} - '@vue/compiler-ssr@3.4.38': - resolution: {integrity: sha512-YXznKFQ8dxYpAz9zLuVvfcXhc31FSPFDcqr0kyujbOwNhlmaNvL2QfIy+RZeJgSn5Fk54CWoEUeW+NVBAogGaw==} - '@vue/compiler-ssr@3.5.0': resolution: {integrity: sha512-E263QZmA1dqRd7c3u/sWTLRMpQOT0aZ8av/L9SoD/v/BVMZaWFHPUUBswS+bzrfvG2suJF8vSLKx6k6ba5SUdA==} @@ -3367,9 +3320,6 @@ packages: peerDependencies: vue: 3.5.0 - '@vue/shared@3.4.38': - resolution: {integrity: sha512-q0xCiLkuWWQLzVrecPb0RMsNWyxICOjPrcrwxTUEHb1fsnvni4dcuyG7RT/Ie7VPTvnjzIaWzRMUBsrqNj/hhw==} - '@vue/shared@3.5.0': resolution: {integrity: sha512-m9IgiteBpCkFaMNwCOBkFksA7z8QiKc30ooRuoXWUFRDu0mGyNPlFHmbncF0/Kra1RlX8QrmBbRaIxVvikaR0Q==} @@ -8380,18 +8330,6 @@ snapshots: '@babel/parser': 7.25.4 '@babel/types': 7.25.4 - '@babel/traverse@7.25.0': - dependencies: - '@babel/code-frame': 7.24.7 - '@babel/generator': 7.25.0 - '@babel/parser': 7.25.3 - '@babel/template': 7.25.0 - '@babel/types': 7.25.4 - debug: 4.3.5 - globals: 11.12.0 - transitivePeerDependencies: - - supports-color - '@babel/traverse@7.25.3': dependencies: '@babel/code-frame': 7.24.7 @@ -9283,6 +9221,20 @@ snapshots: fsevents: 2.3.3 optional: true + '@rsbuild/plugin-babel@1.0.1-rc.5(@rsbuild/core@packages+core)': + dependencies: + '@babel/core': 7.25.2 + '@babel/plugin-proposal-decorators': 7.24.7(@babel/core@7.25.2) + '@babel/plugin-transform-class-properties': 7.25.4(@babel/core@7.25.2) + '@babel/preset-typescript': 7.24.7(@babel/core@7.25.2) + '@rsbuild/core': link:packages/core + '@types/babel__core': 7.20.5 + deepmerge: 4.3.1 + reduce-configs: 1.0.0 + upath: 2.0.1 + transitivePeerDependencies: + - supports-color + '@rsbuild/plugin-check-syntax@1.0.1(@rsbuild/core@packages+core)': dependencies: acorn: 8.12.1 @@ -9328,6 +9280,17 @@ snapshots: optionalDependencies: '@rsbuild/core': 1.0.1-rc.5 + '@rsbuild/plugin-vue-jsx@1.0.1(@babel/core@7.25.2)(@rsbuild/core@packages+core)': + dependencies: + '@rsbuild/plugin-babel': 1.0.1-rc.5(@rsbuild/core@packages+core) + '@vue/babel-plugin-jsx': 1.2.2(@babel/core@7.25.2) + babel-plugin-vue-jsx-hmr: 1.0.0 + optionalDependencies: + '@rsbuild/core': link:packages/core + transitivePeerDependencies: + - '@babel/core' + - supports-color + '@rslib/core@0.0.4(typescript@5.5.2)': dependencies: '@rsbuild/core': 1.0.1-rc.0 @@ -9984,8 +9947,8 @@ snapshots: '@babel/helper-plugin-utils': 7.24.8 '@babel/plugin-syntax-jsx': 7.24.7(@babel/core@7.25.2) '@babel/template': 7.25.0 - '@babel/traverse': 7.25.0 - '@babel/types': 7.25.0 + '@babel/traverse': 7.25.4 + '@babel/types': 7.25.4 '@vue/babel-helper-vue-transform-on': 1.2.2 '@vue/babel-plugin-resolve-type': 1.2.2(@babel/core@7.25.2) camelcase: 6.3.0 @@ -10002,16 +9965,8 @@ snapshots: '@babel/core': 7.25.2 '@babel/helper-module-imports': 7.22.15 '@babel/helper-plugin-utils': 7.24.8 - '@babel/parser': 7.25.3 - '@vue/compiler-sfc': 3.4.38 - - '@vue/compiler-core@3.4.38': - dependencies: '@babel/parser': 7.25.4 - '@vue/shared': 3.4.38 - entities: 4.5.0 - estree-walker: 2.0.2 - source-map-js: 1.2.0 + '@vue/compiler-sfc': 3.5.0 '@vue/compiler-core@3.5.0': dependencies: @@ -10021,28 +9976,11 @@ snapshots: estree-walker: 2.0.2 source-map-js: 1.2.0 - '@vue/compiler-dom@3.4.38': - dependencies: - '@vue/compiler-core': 3.4.38 - '@vue/shared': 3.4.38 - '@vue/compiler-dom@3.5.0': dependencies: '@vue/compiler-core': 3.5.0 '@vue/shared': 3.5.0 - '@vue/compiler-sfc@3.4.38': - dependencies: - '@babel/parser': 7.25.4 - '@vue/compiler-core': 3.4.38 - '@vue/compiler-dom': 3.4.38 - '@vue/compiler-ssr': 3.4.38 - '@vue/shared': 3.4.38 - estree-walker: 2.0.2 - magic-string: 0.30.11 - postcss: 8.4.44 - source-map-js: 1.2.0 - '@vue/compiler-sfc@3.5.0': dependencies: '@babel/parser': 7.25.4 @@ -10055,11 +9993,6 @@ snapshots: postcss: 8.4.44 source-map-js: 1.2.0 - '@vue/compiler-ssr@3.4.38': - dependencies: - '@vue/compiler-dom': 3.4.38 - '@vue/shared': 3.4.38 - '@vue/compiler-ssr@3.5.0': dependencies: '@vue/compiler-dom': 3.5.0 @@ -10089,8 +10022,6 @@ snapshots: '@vue/shared': 3.5.0 vue: 3.5.0(typescript@5.5.2) - '@vue/shared@3.4.38': {} - '@vue/shared@3.5.0': {} '@webassemblyjs/ast@1.12.1': diff --git a/website/docs/en/guide/framework/vue3.mdx b/website/docs/en/guide/framework/vue3.mdx index e9d0b3c866..d35fa7633f 100644 --- a/website/docs/en/guide/framework/vue3.mdx +++ b/website/docs/en/guide/framework/vue3.mdx @@ -40,7 +40,7 @@ For projects using Vue CLI, you can refer to the [Vue CLI Migration Guide](/guid ## Use the JSX syntax of Vue -If you need to use the JSX syntax of Vue, you also need to register the [Vue 3 JSX plugin](/plugins/list/plugin-vue-jsx). +If you need to use the JSX syntax of Vue, you also need to register the [@rsbuild/plugin-vue-jsx](https://github.com/rspack-contrib/rsbuild-plugin-vue-jsx). ## TypeScript Support diff --git a/website/docs/en/guide/migration/vite.mdx b/website/docs/en/guide/migration/vite.mdx index baae9ad072..dcd681356d 100644 --- a/website/docs/en/guide/migration/vite.mdx +++ b/website/docs/en/guide/migration/vite.mdx @@ -84,7 +84,7 @@ Most common Vite plugins can be easily migrated to Rsbuild plugins, such as: | [@vitejs/plugin-react-swc](https://www.npmjs.com/package/@vitejs/plugin-react-swc) | [@rsbuild/plugin-react](/plugins/list/plugin-react) | | [@vitejs/plugin-vue](https://www.npmjs.com/package/@vitejs/plugin-vue) | [@rsbuild/plugin-vue](/plugins/list/plugin-vue) | | [@vitejs/plugin-vue2](https://www.npmjs.com/package/@vitejs/plugin-vue2) | [@rsbuild/plugin-vue2](https://github.com/rspack-contrib/rsbuild-plugin-vue2) | -| [@vitejs/plugin-vue-jsx](https://www.npmjs.com/package/@vitejs/plugin-vue-jsx) | [@rsbuild/plugin-vue-jsx](/plugins/list/plugin-vue-jsx) | +| [@vitejs/plugin-vue-jsx](https://www.npmjs.com/package/@vitejs/plugin-vue-jsx) | [@rsbuild/plugin-vue-jsx](https://github.com/rspack-contrib/rsbuild-plugin-vue-jsx) | | [@vitejs/plugin-vue2-jsx](https://www.npmjs.com/package/@vitejs/plugin-vue2-jsx) | [@rsbuild/plugin-vue2-jsx](https://github.com/rspack-contrib/rsbuild-plugin-vue2-jsx) | | [@vitejs/plugin-basic-ssl](https://www.npmjs.com/package/@vitejs/plugin-basic-ssl) | [@rsbuild/plugin-basic-ssl](https://github.com/rspack-contrib/rsbuild-plugin-basic-ssl) | | [@vitejs/plugin-legacy](https://www.npmjs.com/package/@vitejs/plugin-legacy) | No need to use, see [Browser Compatibility](/guide/advanced/browser-compatibility) for details | diff --git a/website/docs/en/guide/migration/webpack.mdx b/website/docs/en/guide/migration/webpack.mdx index a450a42432..2cb37fbb3b 100644 --- a/website/docs/en/guide/migration/webpack.mdx +++ b/website/docs/en/guide/migration/webpack.mdx @@ -141,7 +141,7 @@ Most of the common webpack loaders and plugins can still be used in Rsbuild, but | [@svgr/webpack](https://www.npmjs.com/package/@svgr/webpack) | [SVGR Plugin](/plugins/list/plugin-svgr) | | [fork-ts-checker-webpack-plugin](https://www.npmjs.com/package/fork-ts-checker-webpack-plugin) | [@rsbuild/plugin-type-check](https://github.com/rspack-contrib/rsbuild-plugin-type-check) | | [node-polyfill-webpack-plugin](https://www.npmjs.com/package/node-polyfill-webpack-plugin) | [Node Polyfill Plugin](https://github.com/rspack-contrib/rsbuild-plugin-node-polyfill) | -| [@vue/babel-plugin-jsx](https://www.npmjs.com/package/@vue/babel-plugin-jsx) | [Vue JSX Plugin](/plugins/list/plugin-vue-jsx) | +| [@vue/babel-plugin-jsx](https://www.npmjs.com/package/@vue/babel-plugin-jsx) | [Vue JSX Plugin](https://github.com/rspack-contrib/rsbuild-plugin-vue-jsx) | | [@vue/babel-preset-jsx](https://www.npmjs.com/package/@vue/babel-preset-jsx) | [Vue 2 JSX Plugin](https://github.com/rspack-contrib/rsbuild-plugin-vue2-jsx) | | [eslint-webpack-plugin](https://www.npmjs.com/package/eslint-webpack-plugin) | [ESLint Plugin](https://github.com/rspack-contrib/rsbuild-plugin-eslint) | | [babel-plugin-styled-components](https://www.npmjs.com/package/babel-plugin-styled-components) | [Styled Components Plugin](https://github.com/rsbuild-contrib/rsbuild-plugin-styled-components) | diff --git a/website/docs/en/guide/start/features.mdx b/website/docs/en/guide/start/features.mdx index e7f15b5e4a..a9a8d02ade 100644 --- a/website/docs/en/guide/start/features.mdx +++ b/website/docs/en/guide/start/features.mdx @@ -67,7 +67,7 @@ Here are all the main features supported by Rsbuild. | React Refresh | Optional feature, enable React Refresh | | | SVGR | Optional feature, transform SVG to React component | | | Vue 3 SFC | Optional feature, enable compilation of Vue 3 SFC (Single File Components) | | -| Vue 3 JSX | Optional feature, enable compilation of Vue 3 JSX syntax | | +| Vue 3 JSX | Optional feature, enable compilation of Vue 3 JSX syntax | | | Vue 2 SFC | Optional feature, enable compilation of Vue 2 SFC (Single File Components) | | | Vue 2 JSX | Optional feature, enable compilation of Vue 2 JSX syntax | | | Svelte | Optional feature, enable compilation of Svelte component | | diff --git a/website/docs/en/guide/start/npm-packages.mdx b/website/docs/en/guide/start/npm-packages.mdx index 648dc1b992..18c9744933 100644 --- a/website/docs/en/guide/start/npm-packages.mdx +++ b/website/docs/en/guide/start/npm-packages.mdx @@ -32,16 +32,6 @@ Vue 3 plugin that provides support for Vue 3 Single-File Components (SFC). - [Source Code](https://github.com/web-infra-dev/rsbuild/tree/main/packages/plugin-vue) - [Documentation](/plugins/list/plugin-vue) -## @rsbuild/plugin-vue-jsx - -![](https://img.shields.io/npm/v/@rsbuild/plugin-vue-jsx?style=flat-square&colorA=564341&colorB=EDED91) - -Vue 3 JSX plugin that provides support for Vue 3 JSX / TSX syntax. - -- [npm](https://npmjs.com/package/@rsbuild/plugin-vue-jsx) -- [Source Code](https://github.com/web-infra-dev/rsbuild/tree/main/packages/plugin-vue-jsx) -- [Documentation](/plugins/list/plugin-vue-jsx) - ## @rsbuild/plugin-sass ![](https://img.shields.io/npm/v/@rsbuild/plugin-sass?style=flat-square&colorA=564341&colorB=EDED91) diff --git a/website/docs/en/plugins/list/index.mdx b/website/docs/en/plugins/list/index.mdx index e89029b615..3cc81c245d 100644 --- a/website/docs/en/plugins/list/index.mdx +++ b/website/docs/en/plugins/list/index.mdx @@ -27,7 +27,7 @@ Plugins available for the React framework: Plugins available for the Vue framework: - [Vue Plugin](/plugins/list/plugin-vue): Provides support for Vue 3 SFC (Single File Components). -- [Vue JSX Plugin](/plugins/list/plugin-vue-jsx): Provides support for Vue 3 JSX / TSX syntax. +- [Vue JSX Plugin](https://github.com/rspack-contrib/rsbuild-plugin-vue-jsx): Provides support for Vue 3 JSX / TSX syntax. - [Vue2 Plugin](https://github.com/rspack-contrib/rsbuild-plugin-vue2): Provides support for Vue 2 SFC (Single File Components). - [Vue2 JSX Plugin](https://github.com/rspack-contrib/rsbuild-plugin-vue2-jsx): Provides support for Vue 2 JSX / TSX syntax. diff --git a/website/docs/en/plugins/list/plugin-vue.mdx b/website/docs/en/plugins/list/plugin-vue.mdx index 9793987214..f801f01522 100644 --- a/website/docs/en/plugins/list/plugin-vue.mdx +++ b/website/docs/en/plugins/list/plugin-vue.mdx @@ -7,7 +7,7 @@ import { SourceCode } from 'rspress/theme'; The Vue plugin provides support for Vue 3 SFC (Single File Components). The plugin internally integrates [vue-loader](https://vue-loader.vuejs.org/) v17. :::tip -For Vue 3 JSX / TSX syntax, please use the [Vue JSX plugin](/plugins/list/plugin-vue-jsx). +For Vue 3 JSX / TSX syntax, please use the [Vue JSX plugin](https://github.com/rspack-contrib/rsbuild-plugin-vue-jsx). ::: ## Quick Start diff --git a/website/docs/zh/guide/framework/vue3.mdx b/website/docs/zh/guide/framework/vue3.mdx index ec371cea32..be819d5d55 100644 --- a/website/docs/zh/guide/framework/vue3.mdx +++ b/website/docs/zh/guide/framework/vue3.mdx @@ -40,7 +40,7 @@ export default defineConfig({ ## 使用 Vue JSX 语法 -如果你需要使用 Vue 的 JSX 语法,还需要注册 Rsbuild 的 [Vue 3 JSX 插件](/plugins/list/plugin-vue-jsx)。 +如果你需要使用 Vue 的 JSX 语法,还需要注册 Rsbuild 的 [Vue 3 JSX 插件](https://github.com/rspack-contrib/rsbuild-plugin-vue-jsx)。 ## TypeScript 支持 diff --git a/website/docs/zh/guide/migration/vite.mdx b/website/docs/zh/guide/migration/vite.mdx index 9065aaa1e3..775cda7ec3 100644 --- a/website/docs/zh/guide/migration/vite.mdx +++ b/website/docs/zh/guide/migration/vite.mdx @@ -84,7 +84,7 @@ Rsbuild 会在构建时自动注入 `