We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9416706 commit e363f46Copy full SHA for e363f46
test/tsconfig.json
test/unit/cssnano-simple/cssnano-preset-simple/plugin.ts
@@ -12,9 +12,7 @@ const cssnanoPlugin = (options = {}) => {
12
for (const nanoPlugin of nanoPlugins) {
13
if (Array.isArray(nanoPlugin)) {
14
let [processor, opts] = nanoPlugin
15
- processor =
16
- // @ts-expect-error Property 'default' does not exist on type 'PluginCreator<any>'.
17
- processor.default || processor
+ processor = processor.default || processor
18
if (
19
typeof opts === 'undefined' ||
20
(typeof opts === 'object' && !opts.exclude) ||
0 commit comments