Skip to content

Commit e363f46

Browse files
committed
Remove confusing tsconfig
1 parent 9416706 commit e363f46

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

test/tsconfig.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

test/unit/cssnano-simple/cssnano-preset-simple/plugin.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ const cssnanoPlugin = (options = {}) => {
1212
for (const nanoPlugin of nanoPlugins) {
1313
if (Array.isArray(nanoPlugin)) {
1414
let [processor, opts] = nanoPlugin
15-
processor =
16-
// @ts-expect-error Property 'default' does not exist on type 'PluginCreator<any>'.
17-
processor.default || processor
15+
processor = processor.default || processor
1816
if (
1917
typeof opts === 'undefined' ||
2018
(typeof opts === 'object' && !opts.exclude) ||

0 commit comments

Comments
 (0)