Skip to content

docs: 更正编译配置文档的 Sass 部分 #304

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions docs/config-detail.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,9 +410,7 @@ module.exports = {

`object`

用于控制对 scss 代码的编译行为,默认使用 `dart-sass`,具体配置可以参考 [sass](https://www.npmjs.com/package/sass)。

当需要往所有 scss 文件头部插入 scss 代码时,可以通过以下三个额外参数设置:
用于往所有 scss 文件头部插入 scss 代码。如果要自定义 sass 设置,可通过 [`mini.sassLoaderOption`](#mini.sassLoaderOption) 或 [`h5.sassLoaderOption`](#h5.sassLoaderOption) 配置。

### sass.resource

Expand Down