File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,10 @@ There is the special `config` option for config files. How it works and how it c
222
222
We recommend do not specify ` from ` , ` to ` and ` map ` options, because this can lead to wrong path in source maps.
223
223
If you need source maps please use the [ ` sourcemap ` ] ( #sourcemap ) option.
224
224
225
+ For large projects, to optimize performance of the loader, it is better to provide ` postcssOptions ` in loader
226
+ config and specify ` config: false ` . This approach removes the need to lookup and load external config files multiple
227
+ times during compilation.
228
+
225
229
#### ` object `
226
230
227
231
Setup ` plugins ` :
@@ -405,7 +409,7 @@ Type:
405
409
type config = boolean | string ;
406
410
```
407
411
408
- Default: ` undefined `
412
+ Default: ` true `
409
413
410
414
Allows to set options using config files.
411
415
Options specified in the config file are combined with options passed to the loader, the loader options overwrite options from config.
You can’t perform that action at this time.
0 commit comments