Skip to content

Commit 49b32f9

Browse files
authored
refactor(css)!: always use sass compiler API (#1979)
1 parent b5b7cc8 commit 49b32f9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

config/shared-options.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ CSS モジュールの動作を設定します。オプションは [postcss-mod
227227
CSS プリプロセッサーに渡すオプションを指定します。オプションのキーとしてファイルの拡張子を使用します。各プリプロセッサーでサポートされているオプションは、それぞれのドキュメントで確認できます:
228228

229229
- `sass`/`scss`:
230-
- 使用する sass の API を `api: "modern-compiler" | "modern"` で選択します(`sass-embedded` がインストールされている場合はデフォルトで `"modern-compiler"`、そうでない場合は `"modern"`。最高のパフォーマンスを得るには、`sass-embedded` パッケージで `api: "modern-compiler"` を使用することをお勧めします
230+
- `sass-embedded` がインストールされている場合はそれを使用し、そうでない場合は `sass` を使用します。最高のパフォーマンスを得るには、`sass-embedded` パッケージをインストールすることをお勧めします
231231
- [オプション](https://sass-lang.com/documentation/js-api/interfaces/stringoptions/)
232232
- `less`: [オプション](https://lesscss.org/usage/#less-options)
233233
- `styl`/`stylus`: オブジェクトとして渡せる [`define`](https://stylus-lang.com/docs/js.html#define-name-node) のみサポートされています。
@@ -247,7 +247,6 @@ export default defineConfig({
247247
},
248248
},
249249
scss: {
250-
api: 'modern-compiler', // または "modern"
251250
importers: [
252251
// ...
253252
],

0 commit comments

Comments
 (0)