File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -184,9 +184,17 @@ Type:
184184<!-- use other name to prettify since import is reserved keyword -->
185185
186186``` ts
187- type import =
187+ type importFn =
188188 | boolean
189- | { filter: (url : string , media : string , resourcePath : string ) => boolean };
189+ | {
190+ filter: (
191+ url : string ,
192+ media : string ,
193+ resourcePath : string ,
194+ supports ? : string ,
195+ layer ? : string
196+ ) => boolean ;
197+ };
190198```
191199
192200Default: ` true `
@@ -693,11 +701,11 @@ Type:
693701
694702``` ts
695703type mode =
696- | " local"
697- | " global"
698- | " pure"
699- | " icss"
700- | ((resourcePath ) => " local" | " global" | " pure" | " icss" )) `
704+ | " local"
705+ | " global"
706+ | " pure"
707+ | " icss"
708+ | ((resourcePath : string ) => " local" | " global" | " pure" | " icss" );
701709```
702710
703711Default: ` 'local' `
You can’t perform that action at this time.
0 commit comments