This repository was archived by the owner on Jul 6, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ export async function loadConfig(specifier: string): Promise<Config> {
132
132
}
133
133
config . css = {
134
134
cache,
135
- extract : util . isPlainObject ( extract ) && typeof extract . limit === 'number' ? extract : { limit : 8 * 1024 } ,
135
+ extract : util . isPlainObject ( extract ) && typeof extract . limit === 'number' ? extract as any : { limit : 8 * 1024 } ,
136
136
modules : util . isPlainObject ( modules ) ? modules : { } ,
137
137
postcss : isPostcssConfig ( postcss ) ? postcss : { plugins : [ 'autoprefixer' ] }
138
138
}
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ export type CSSOptions = {
190
190
/** `cache` caches remote css to local if it is true. */
191
191
cache ?: boolean | RegExp | RegExp [ ]
192
192
/** `extract` specifies the extract options (default is true with 8k limit). */
193
- extract ?: { limit ? : number }
193
+ extract ?: { limit : number }
194
194
/** `postcss` specifies the postcss plugins. */
195
195
postcss ?: { plugins : PostCSSPlugin [ ] }
196
196
/** `modules` specifies CSS modules behavior. */
You can’t perform that action at this time.
0 commit comments