Unverified Commit afaff59f authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Monkeypatch @zeit/next-css@0.2.1-canary.4 (#8996)

parent 5bce442d
...@@ -955,7 +955,11 @@ export default async function getBaseWebpackConfig( ...@@ -955,7 +955,11 @@ export default async function getBaseWebpackConfig(
// old `css-loader` versions. Custom setups (that aren't next-sass // old `css-loader` versions. Custom setups (that aren't next-sass
// or next-less) likely have the newer version. // or next-less) likely have the newer version.
// We still handle this gracefully below. // We still handle this gracefully below.
Object.prototype.hasOwnProperty.call(use.options, 'minimize') (Object.prototype.hasOwnProperty.call(use.options, 'minimize') ||
Object.prototype.hasOwnProperty.call(
use.options,
'exportOnlyLocals'
))
) )
) { ) {
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment