Skip to content

Commit

Permalink
docs: link
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Jun 3, 2024
1 parent 794f2ba commit b0663f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/docs/en/plugins/list/plugin-sass.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pluginSass({
});
```

Rsbuild defaults to using the latest `modern-compiler` API. If you are using an older version of Sass, please set the `api` option of sass-loader to `legacy` to avoid exceptions caused by version mismatches.
Rsbuild defaults to using the latest `modern-compiler` API. If you are using an older version of Sass, please set the [api](https://github.com/webpack-contrib/sass-loader?tab=readme-ov-file#api) option of sass-loader to `legacy` to avoid exceptions caused by version mismatches.

```ts
pluginSass({
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh/plugins/list/plugin-sass.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ pluginSass({
});
```

Rsbuild 默认使用最新的 `modern-compiler` API,如果你使用的 Sass 版本较低,请将 sass-loader 的 `api` 选项设置为 `legacy`,以避免版本不匹配导致的异常。
Rsbuild 默认使用最新的 `modern-compiler` API,如果你使用的 Sass 版本较低,请将 sass-loader 的 [api](https://github.com/webpack-contrib/sass-loader?tab=readme-ov-file#api) 选项设置为 `legacy`,以避免版本不匹配导致的异常。

```ts
pluginSass({
Expand Down

0 comments on commit b0663f8

Please sign in to comment.