Skip to content

Commit

Permalink
Remove unnecessary workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Timer committed Dec 7, 2019
1 parent 52685e1 commit 2aab49a
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/next/build/webpack/config/blocks/css/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,6 @@ export const css = curry(async function css(
})
)

if (fns.length) {
const fn = pipe(...(fns as [ConfigurationFn]))
return fn(config)
}
return config
const fn = pipe(...fns)
return fn(config)
})

0 comments on commit 2aab49a

Please sign in to comment.