File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -227,9 +227,8 @@ CSS モジュールの動作を設定します。オプションは [postcss-mod
227227CSS プリプロセッサーに渡すオプションを指定します。オプションのキーとしてファイルの拡張子を使用します。各プリプロセッサーでサポートされているオプションは、それぞれのドキュメントで確認できます:
228228
229229- ` sass ` /` scss ` :
230- - 使用する sass の API を ` api: "modern-compiler" | "modern" | "legacy" ` で選択します(` sass-embedded ` がインストールされている場合はデフォルトで ` "modern-compiler" ` 、そうでない場合は ` "modern" ` )。最高のパフォーマンスを得るには、` sass-embedded ` パッケージで ` api: "modern-compiler" ` を使用することをお勧めします。` "legacy" ` API は非推奨であり、Vite 7 で削除される予定です。
231- - [ オプション(modern)] ( https://sass-lang.com/documentation/js-api/interfaces/stringoptions/ )
232- - [ オプション(legacy)] ( https://sass-lang.com/documentation/js-api/interfaces/LegacyStringOptions )
230+ - 使用する sass の API を ` api: "modern-compiler" | "modern" ` で選択します(` sass-embedded ` がインストールされている場合はデフォルトで ` "modern-compiler" ` 、そうでない場合は ` "modern" ` )。最高のパフォーマンスを得るには、` sass-embedded ` パッケージで ` api: "modern-compiler" ` を使用することをお勧めします。
231+ - [ オプション] ( https://sass-lang.com/documentation/js-api/interfaces/stringoptions/ )
233232- ` less ` : [ オプション] ( https://lesscss.org/usage/#less-options ) 。
234233- ` styl ` /` stylus ` : オブジェクトとして渡せる [ ` define ` ] ( https://stylus-lang.com/docs/js.html#define-name-node ) のみサポートされています。
235234
@@ -248,7 +247,7 @@ export default defineConfig({
248247 },
249248 },
250249 scss: {
251- api: ' modern-compiler' , // または "modern", "legacy"
250+ api: ' modern-compiler' , // または "modern"
252251 importers: [
253252 // ...
254253 ],
You can’t perform that action at this time.
0 commit comments