Skip to content
This repository has been archived by the owner on Feb 15, 2025. It is now read-only.

Commit

Permalink
Merge pull request #312 from seanofw/master
Browse files Browse the repository at this point in the history
Fix bug that causes `webpack.styles=false` to fail.
  • Loading branch information
insin authored May 30, 2017
2 parents 113300d + b292670 commit 9a1be9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/getUserConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ export function processUserConfig({
`Must be ${chalk.green("'old'")}, ${chalk.green('false')} (to disable default style rules) or an Object.`
)
}
else if (configType !== 'object') {
else if (configType !== 'object' && configType !== 'boolean') {
report.error(
'webpack.styles',
`type: ${configType}`,
Expand Down

0 comments on commit 9a1be9f

Please sign in to comment.