Skip to content

Commit bce5d71

Browse files
authored
docs: update URLs to use shorter versions links (#4987)
1 parent 12b9e95 commit bce5d71

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+185
-185
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Rsbuild has been inspired by several outstanding projects in the community. We w
126126
- Multiple utility functions have been adapted from [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin)
127127
- Several API design patterns have been influenced by [Vite](https://github.com/vitejs/vite)
128128

129-
Special thanks to [Netlify](https://www.netlify.com/) for providing hosting services for the Rsbuild documentation website.
129+
Special thanks to [Netlify](https://netlify.com/) for providing hosting services for the Rsbuild documentation website.
130130

131131
## 📖 License
132132

README.pt-BR.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ O Rsbuild foi inspirado por vários projetos excepcionais da comunidade. Gostar
126126
- Múltiplas funções utilitárias foram adaptadas do [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin)
127127
- Vários padrões de design de API foram influenciados pelo [Vite](https://github.com/vitejs/vite)
128128

129-
Agradecimentos especiais à [Netlify](https://www.netlify.com/) por fornecer serviços de hospedagem para o site de documentação do Rsbuild.
129+
Agradecimentos especiais à [Netlify](https://netlify.com/) por fornecer serviços de hospedagem para o site de documentação do Rsbuild.
130130

131131
## 📖 Licença
132132

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ Rsbuild 受到社区中几个杰出项目的启发。我们想要对以下项目
128128
- 多个实用工具函数改编自 [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin)
129129
- 一些 API 设计模式受到 [Vite](https://github.com/vitejs/vite) 的影响
130130

131-
特别感谢 [Netlify](https://www.netlify.com/) 为 Rsbuild 文档网站提供托管服务。
131+
特别感谢 [Netlify](https://netlify.com/) 为 Rsbuild 文档网站提供托管服务。
132132

133133
## 📖 License
134134

packages/core/src/helpers/format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function hintUnknownFiles(message: string): string {
5252
return `To enable support for ${keyword}, use "${color.yellow(
5353
`@rsbuild/plugin-${packageName}`,
5454
)}" ${color.dim(
55-
`(https://www.npmjs.com/package/@rsbuild/plugin-${packageName})`,
55+
`(https://npmjs.com/package/@rsbuild/plugin-${packageName})`,
5656
)}.`;
5757
};
5858

packages/core/types.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -194,21 +194,21 @@ declare module '*.opus' {
194194
}
195195

196196
/**
197-
* @requires [@rsbuild/plugin-yaml](https://www.npmjs.com/package/@rsbuild/plugin-yaml)
197+
* @requires [@rsbuild/plugin-yaml](https://npmjs.com/package/@rsbuild/plugin-yaml)
198198
*/
199199
declare module '*.yaml' {
200200
const content: Record<string, any>;
201201
export default content;
202202
}
203203
/**
204-
* @requires [@rsbuild/plugin-yaml](https://www.npmjs.com/package/@rsbuild/plugin-yaml)
204+
* @requires [@rsbuild/plugin-yaml](https://npmjs.com/package/@rsbuild/plugin-yaml)
205205
*/
206206
declare module '*.yml' {
207207
const content: Record<string, any>;
208208
export default content;
209209
}
210210
/**
211-
* @requires [@rsbuild/plugin-toml](https://www.npmjs.com/package/@rsbuild/plugin-toml)
211+
* @requires [@rsbuild/plugin-toml](https://npmjs.com/package/@rsbuild/plugin-toml)
212212
*/
213213
declare module '*.toml' {
214214
const content: Record<string, any>;
@@ -262,35 +262,35 @@ declare module '*.module.css' {
262262
export default classes;
263263
}
264264
/**
265-
* @requires [@rsbuild/plugin-sass](https://www.npmjs.com/package/@rsbuild/plugin-sass)
265+
* @requires [@rsbuild/plugin-sass](https://npmjs.com/package/@rsbuild/plugin-sass)
266266
*/
267267
declare module '*.module.scss' {
268268
const classes: CSSModuleClasses;
269269
export default classes;
270270
}
271271
/**
272-
* @requires [@rsbuild/plugin-sass](https://www.npmjs.com/package/@rsbuild/plugin-sass)
272+
* @requires [@rsbuild/plugin-sass](https://npmjs.com/package/@rsbuild/plugin-sass)
273273
*/
274274
declare module '*.module.sass' {
275275
const classes: CSSModuleClasses;
276276
export default classes;
277277
}
278278
/**
279-
* @requires [@rsbuild/plugin-less](https://www.npmjs.com/package/@rsbuild/plugin-less)
279+
* @requires [@rsbuild/plugin-less](https://npmjs.com/package/@rsbuild/plugin-less)
280280
*/
281281
declare module '*.module.less' {
282282
const classes: CSSModuleClasses;
283283
export default classes;
284284
}
285285
/**
286-
* @requires [@rsbuild/plugin-stylus](https://www.npmjs.com/package/@rsbuild/plugin-stylus)
286+
* @requires [@rsbuild/plugin-stylus](https://npmjs.com/package/@rsbuild/plugin-stylus)
287287
*/
288288
declare module '*.module.styl' {
289289
const classes: CSSModuleClasses;
290290
export default classes;
291291
}
292292
/**
293-
* @requires [@rsbuild/plugin-stylus](https://www.npmjs.com/package/@rsbuild/plugin-stylus)
293+
* @requires [@rsbuild/plugin-stylus](https://npmjs.com/package/@rsbuild/plugin-stylus)
294294
*/
295295
declare module '*.module.stylus' {
296296
const classes: CSSModuleClasses;

packages/plugin-solid/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const require = createRequire(import.meta.url);
88
export type PluginSolidOptions = {
99
/**
1010
* Options passed to `babel-preset-solid`.
11-
* @see https://www.npmjs.com/package/babel-preset-solid
11+
* @see https://npmjs.com/package/babel-preset-solid
1212
*/
1313
solidPresetOptions?: SolidPresetOptions;
1414
};

website/docs/en/api/javascript-api/core.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ logger.info('hello'); // [info] hello
449449

450450
## rspack
451451

452-
If you need to access the API or plugins exported by [@rspack/core](https://www.npmjs.com/package/@rspack/core), you can directly import the `rspack` object from `@rsbuild/core` without installing the `@rspack/core` package separately.
452+
If you need to access the API or plugins exported by [@rspack/core](https://npmjs.com/package/@rspack/core), you can directly import the `rspack` object from `@rsbuild/core` without installing the `@rspack/core` package separately.
453453

454454
- **Type:** `Rspack`
455455
- **Example:**

website/docs/en/community/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ For more details, see [Releases](/community/releases/index).
1010

1111
The development of Rsbuild is driven by ByteDance's Rspack team and community contributors.
1212

13-
For information about the team members, please refer to [Rspack - Core team](https://www.rspack.dev/misc/team/core-team).
13+
For information about the team members, please refer to [Rspack - Core team](https://rspack.dev/misc/team/core-team).
1414

1515
## Communication
1616

@@ -33,7 +33,7 @@ Please refer to the [Rsbuild Contribution Guide](https://github.com/web-infra-de
3333

3434
## Blogs
3535

36-
Please visit [Rspack - Blog](https://www.rspack.dev/blog/index) to read our latest articles and announcements.
36+
Please visit [Rspack - Blog](https://rspack.dev/blog/index) to read our latest articles and announcements.
3737

3838
## Examples
3939

website/docs/en/community/releases/v0-4.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module.exports = {
9595

9696
## Pure React plugin
9797

98-
The React plugin has removed default [source.transformImport](/config/source/transform-import) config for [antd](https://www.npmjs.com/package/antd) v4 and [@arco-design/web-react](https://www.npmjs.com/package/@arco-design/web-react).
98+
The React plugin has removed default [source.transformImport](/config/source/transform-import) config for [antd](https://npmjs.com/package/antd) v4 and [@arco-design/web-react](https://npmjs.com/package/@arco-design/web-react).
9999

100100
Configurations related to the UI library should be provided in the UI library-specific plugins, such as `rsbuild-plugin-antd` or `rsbuild-plugin-arco`, and the React plugin will concentrate on providing fundamental abilities for React.
101101

website/docs/en/community/releases/v0-7.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ Comparison of build times for Rsbuild 0.6 and 0.7 when compiling Bootstrap's Sas
5656

5757
![](https://assets.rspack.dev/rsbuild/assets/sass-embedded-compare.jpeg)
5858

59-
This improvement is due to Rsbuild's default use of [sass-embedded](https://www.npmjs.com/package/sass-embedded), a JavaScript wrapper around the native Dart Sass executable that provides a consistent API and superior performance.
59+
This improvement is due to Rsbuild's default use of [sass-embedded](https://npmjs.com/package/sass-embedded), a JavaScript wrapper around the native Dart Sass executable that provides a consistent API and superior performance.
6060

6161
Rsbuild has also enabled the latest sass-loader's [modern-compiler](https://github.com/webpack-contrib/sass-loader/releases/tag/v14.2.0) API. This can enable Sass's shared resources feature, which allows the same compiler process to be reused when compiling multiple files, improving build performance.
6262

6363
## Better CSS supports
6464

65-
Rsbuild now uses [CssExtractRspackPlugin](https://www.rspack.dev/plugins/rspack/css-extract-rspack-plugin) to extract CSS into separate files, rather than using the [experimental.css](https://www.rspack.dev/config/experiments#experimentscss) config to do so.
65+
Rsbuild now uses [CssExtractRspackPlugin](https://rspack.dev/plugins/rspack/css-extract-rspack-plugin) to extract CSS into separate files, rather than using the [experimental.css](https://rspack.dev/config/experiments#experimentscss) config to do so.
6666

6767
This allows Rsbuild to support more CSS features, including:
6868

website/docs/en/community/releases/v1-0.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ When developing Rsbuild, we learned best practices from the best tools in the co
5050
| npm dependencies count | 1241 | 15 | 283 | 14 | **99% reduction** |
5151
| npm install size | 146.6MB | 56.3MB | 75.1MB | 59.1MB | **60% reduction** |
5252

53-
Compared to the [Rspack CLI](https://www.npmjs.com/package/@rspack/cli), Rsbuild provides a richer set of features while demonstrating superior performance.
53+
Compared to the [Rspack CLI](https://npmjs.com/package/@rspack/cli), Rsbuild provides a richer set of features while demonstrating superior performance.
5454

55-
This is because Rspack CLI needs to maintain compatibility with the [webpack-cli](https://www.npmjs.com/package/webpack-cli). It relies on the `webpack-dev-server` and provides the same default behavior as webpack, which has some performance limitations. Rsbuild, on the other hand, is designed for modern web development. We have reimplemented a lighter CLI, dev server, and build process for Rsbuild, resulting in faster startup speeds and fewer npm dependencies.
55+
This is because Rspack CLI needs to maintain compatibility with the [webpack-cli](https://npmjs.com/package/webpack-cli). It relies on the `webpack-dev-server` and provides the same default behavior as webpack, which has some performance limitations. Rsbuild, on the other hand, is designed for modern web development. We have reimplemented a lighter CLI, dev server, and build process for Rsbuild, resulting in faster startup speeds and fewer npm dependencies.
5656

5757
> See the [Rsbuild Introduction](https://rsbuild.dev/guide/start/index) for more comparisons between Rsbuild, webpack, Vue CLI, and Vite.
5858

website/docs/en/config/output/inject-styles.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Whether to inject styles into DOM.
77

8-
By default, Rsbuild will extract CSS into a separate `.css` file and output it to the dist directory. When this option is set to `true`, CSS files will be inlined into JS files and inserted on the page at runtime via `<style>` tags. This feature is implemented based on [style-loader](https://www.npmjs.com/package/style-loader).
8+
By default, Rsbuild will extract CSS into a separate `.css` file and output it to the dist directory. When this option is set to `true`, CSS files will be inlined into JS files and inserted on the page at runtime via `<style>` tags. This feature is implemented based on [style-loader](https://npmjs.com/package/style-loader).
99

1010
### Example
1111

website/docs/en/config/performance/bundle-analyze.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Add the environment variable `BUNDLE_ANALYZE=true`, for example:
3131
}
3232
```
3333

34-
Since the Windows system does not support the above usage, you can also use [cross-env](https://www.npmjs.com/package/cross-env) to set environment variables. This ensures compatibility across different systems:
34+
Since the Windows system does not support the above usage, you can also use [cross-env](https://npmjs.com/package/cross-env) to set environment variables. This ensures compatibility across different systems:
3535

3636
```json title="package.json"
3737
{

website/docs/en/config/plugins.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export default {
143143

144144
[unplugin](https://github.com/unjs/unplugin) is a unified plugin system for various build tools. You can use plugins implemented based on unplugin in Rsbuild, just import the `/rspack` subpath of the plugin and register it via [tools.rspack](/config/tools/rspack).
145145

146-
Here is an example of using [unplugin-vue-components](https://www.npmjs.com/package/unplugin-vue-components):
146+
Here is an example of using [unplugin-vue-components](https://npmjs.com/package/unplugin-vue-components):
147147

148148
```ts
149149
import { defineConfig } from '@rsbuild/core';

website/docs/en/config/server/open.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ BROWSER=edge npx rsbuild dev
109109
BROWSER=firefox npx rsbuild dev
110110
```
111111

112-
On Windows, use [cross-env](https://www.npmjs.com/package/cross-env) to set environment variables:
112+
On Windows, use [cross-env](https://npmjs.com/package/cross-env) to set environment variables:
113113

114114
```bash
115115
npm i cross-env -D

website/docs/en/config/source/decorators.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default {
3636
Reference documentation:
3737

3838
- [JavaScript meta programming with the 2022-03 decorators API](https://2ality.com/2022/10/javascript-decorators.html)
39-
- [TypeScript 5.0 Decorators](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#decorators)
39+
- [TypeScript 5.0 Decorators](https://typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#decorators)
4040

4141
### legacy
4242

@@ -55,4 +55,4 @@ export default {
5555
Reference documentation:
5656

5757
- [A Complete Guide to TypeScript Decorators](https://mirone.me/a-complete-guide-to-typescript-decorator/)
58-
- [TypeScript Decorators](https://www.typescriptlang.org/docs/handbook/decorators.html)
58+
- [TypeScript Decorators](https://typescriptlang.org/docs/handbook/decorators.html)

website/docs/en/config/source/entry.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export default {
128128

129129
## Asynchronous setting
130130

131-
To set entry asynchronously, for example, use [glob](https://www.npmjs.com/package/glob) to scan the directory, you can export an async function in `rsbuild.config.ts`:
131+
To set entry asynchronously, for example, use [glob](https://npmjs.com/package/glob) to scan the directory, you can export an async function in `rsbuild.config.ts`:
132132

133133
```ts title="rsbuild.config.ts"
134134
import path from 'node:path';

website/docs/en/guide/advanced/alias.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import request from '@request'; // resolve to `src/common/request.ts`
1010

1111
In Rsbuild, there are two ways to set up path aliases:
1212

13-
- Use the `paths` configuration in [tsconfig.json](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html).
13+
- Use the `paths` configuration in [tsconfig.json](https://typescriptlang.org/docs/handbook/tsconfig-json.html).
1414
- Use the [resolve.alias](/config/resolve/alias) configuration.
1515

1616
## `paths` in tsconfig.json

website/docs/en/guide/advanced/env-vars.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ interface ImportMeta {
473473
474474
### process.env
475475
476-
If the type for `process.env` is missing, please install the dependency [@types/node](https://www.npmjs.com/package/@types/node):
476+
If the type for `process.env` is missing, please install the dependency [@types/node](https://npmjs.com/package/@types/node):
477477
478478
import { PackageManagerTabs } from '@theme';
479479

website/docs/en/guide/advanced/module-federation.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Here are the characteristics of several versions:
3434

3535
[Module Federation 2.0](https://module-federation.io/blog/announcement.html) provides some additional out-of-the-box features based on Module Federation, such as dynamic TS type hints, Chrome devtools, Runtime plugins, preloading, making Module Federation more suitable for micro-frontend architecture supporting large-scale web applications. Module Federation v2.0 is implemented based on v1.5.
3636

37-
You need to install the additional [@module-federation/rsbuild-plugin](https://www.npmjs.com/package/@module-federation/rsbuild-plugin) plugin to use Module Federation v2.0.
37+
You need to install the additional [@module-federation/rsbuild-plugin](https://npmjs.com/package/@module-federation/rsbuild-plugin) plugin to use Module Federation v2.0.
3838

3939
```ts title="rsbuild.config.ts"
4040
import { pluginModuleFederation } from '@module-federation/rsbuild-plugin';

website/docs/en/guide/basic/configure-rspack.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default {
4747
4848
## Access Rspack API
4949

50-
If you need to access the API or plugins exported by [@rspack/core](https://www.npmjs.com/package/@rspack/core), you can directly import the [rspack](/api/javascript-api/core#rspack) object from `@rsbuild/core` without installing the `@rspack/core` package separately.
50+
If you need to access the API or plugins exported by [@rspack/core](https://npmjs.com/package/@rspack/core), you can directly import the [rspack](/api/javascript-api/core#rspack) object from `@rsbuild/core` without installing the `@rspack/core` package separately.
5151

5252
```ts title="rsbuild.config.ts"
5353
import { rspack } from '@rsbuild/core';

website/docs/en/guide/basic/configure-swc.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Here are some examples:
1919

2020
### Register SWC plugin
2121

22-
`tools.swc` can be used to register SWC's Wasm plugins, for example, registering [@swc/plugin-styled-components](https://www.npmjs.com/package/@swc/plugin-styled-components):
22+
`tools.swc` can be used to register SWC's Wasm plugins, for example, registering [@swc/plugin-styled-components](https://npmjs.com/package/@swc/plugin-styled-components):
2323

2424
```js
2525
export default {
@@ -61,7 +61,7 @@ export default {
6161
};
6262
```
6363

64-
For more options, please refer to [@swc/plugin-emotion](https://www.npmjs.com/package/@swc/plugin-emotion).
64+
For more options, please refer to [@swc/plugin-emotion](https://npmjs.com/package/@swc/plugin-emotion).
6565

6666
### Enable Relay support
6767

@@ -81,7 +81,7 @@ export default {
8181
};
8282
```
8383

84-
For more options, please refer to [@swc/plugin-relay](https://www.npmjs.com/package/@swc/plugin-relay).
84+
For more options, please refer to [@swc/plugin-relay](https://npmjs.com/package/@swc/plugin-relay).
8585

8686
## Minimizer options
8787

website/docs/en/guide/basic/css-usage.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Rsbuild also provides several configurations that allow customization of the pro
1010
[Lightning CSS](https://lightningcss.dev) is a high performance CSS parser, transformer and minifier written in Rust. It supports parsing and transforming many modern CSS features into syntax supported by target browsers, and also provides a better compression ratio.
1111
:::
1212

13-
Rsbuild uses Rspack's built-in [lightningcss-loader](https://www.rspack.dev/guide/features/builtin-lightningcss-loader) to transform CSS code. It automatically reads the project's [browserslist](/guide/advanced/browserslist) config and converts the CSS code to syntax supported by target browsers.
13+
Rsbuild uses Rspack's built-in [lightningcss-loader](https://rspack.dev/guide/features/builtin-lightningcss-loader) to transform CSS code. It automatically reads the project's [browserslist](/guide/advanced/browserslist) config and converts the CSS code to syntax supported by target browsers.
1414

1515
### Features
1616

website/docs/en/guide/basic/static-deploy.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ jobs:
164164

165165
## Netlify
166166

167-
[Netlify Core](https://www.netlify.com/) is a frontend cloud solution for developers to build and deploy future-proof digital solutions with modern, composable tooling.
167+
[Netlify Core](https://netlify.com/) is a frontend cloud solution for developers to build and deploy future-proof digital solutions with modern, composable tooling.
168168

169169
### Add new site
170170

website/docs/en/guide/basic/tailwindcss-v3.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { PackageManagerTabs } from '@theme';
1414

1515
## Configuring PostCSS
1616

17-
You can register the `tailwindcss` PostCSS plugin through [postcss.config.cjs](https://www.npmjs.com/package/postcss-loader#config) or [tools.postcss](/config/tools/postcss).
17+
You can register the `tailwindcss` PostCSS plugin through [postcss.config.cjs](https://npmjs.com/package/postcss-loader#config) or [tools.postcss](/config/tools/postcss).
1818

1919
```js title="postcss.config.cjs"
2020
module.exports = {

website/docs/en/guide/basic/tailwindcss.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { PackageManagerTabs } from '@theme';
2222

2323
## Configuring PostCSS
2424

25-
You can register the Tailwind CSS PostCSS plugin through [postcss.config.cjs](https://www.npmjs.com/package/postcss-loader#config) or [tools.postcss](/config/tools/postcss).
25+
You can register the Tailwind CSS PostCSS plugin through [postcss.config.cjs](https://npmjs.com/package/postcss-loader#config) or [tools.postcss](/config/tools/postcss).
2626

2727
```js title="postcss.config.mjs"
2828
export default {

website/docs/en/guide/basic/unocss.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[UnoCSS](https://unocss.dev/) is the instant atomic CSS engine, that is designed to be flexible and extensible. The core is un-opinionated, and all the CSS utilities are provided via presets.
44

5-
You can integrate UnoCSS in Rsbuild via [@unocss/webpack](https://www.npmjs.com/package/@unocss/webpack).
5+
You can integrate UnoCSS in Rsbuild via [@unocss/webpack](https://npmjs.com/package/@unocss/webpack).
66

77
## Installing UnoCSS
88

website/docs/en/guide/debug/rsdoctor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { PackageManagerTabs } from '@theme';
2525
}
2626
```
2727

28-
Since the Windows system does not support the above usage, you can also use [cross-env](https://www.npmjs.com/package/cross-env) to set environment variables. This ensures compatibility across different systems:
28+
Since the Windows system does not support the above usage, you can also use [cross-env](https://npmjs.com/package/cross-env) to set environment variables. This ensures compatibility across different systems:
2929

3030
```json title="package.json"
3131
{

0 commit comments

Comments
 (0)