-
Notifications
You must be signed in to change notification settings - Fork 1.1k
docs(cn): translate src/content/loaders/sass-loader.md #788
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Deploy preview for cn-webpack ready! Built with commit 4372304 |
src/content/loaders/sass-loader.md
Outdated
|
||
> ℹ We recommend not to set the `outFile`, `sourceMapContents`, `sourceMapEmbed`, `sourceMapRoot` options because `sass-loader` automatically sets these options when the `sourceMap` option is `true`. | ||
> ℹ 我们推荐不要设置 `outFile`,`sourceMapContents`,`sourceMapEmbed`,`sourceMapRoot` 这些选项,因为当 `sourceMap` 是 `true` 时,`sass-loader` 会自动设置这些选项。 | ||
|
||
> ℹ️ Access to the [loader context](/api/loaders/#the-loader-context) inside the custom importer can be done using the `this.webpackLoaderContext` property. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是更新的内容,翻译一下
src/content/loaders/sass-loader.md
Outdated
|
||
This allows you to control the versions of all your dependencies, and to choose which Sass implementation to use. | ||
这可以控制所有依赖的版本,并自由的选择使用 Sass 的实现。 | ||
|
||
> ℹ️ We recommend using [Dart Sass](https://github.com/sass/dart-sass). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是更新的内容,需要翻译一下
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
新更新了一部分内容,翻译一下,没问题就可以合并了
已经更新 @QC-L |
翻译 sass-loader