Skip to content

Commit

Permalink
Allow responsive-loader settings (#2370)
Browse files Browse the repository at this point in the history
Responsive Loader: https://github.com/herrstucki/responsive-loader  requires settings in the root of the webpack config. This is a temporary workaround until webpack 3 support lands.
  • Loading branch information
oscar-b authored and KyleAMathews committed Oct 7, 2017
1 parent 4d902d8 commit 0598e41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/gatsby/src/utils/webpack-modify-validate.js
Expand Up @@ -14,6 +14,7 @@ const validationWhitelist = Joi.object({
stylus: Joi.any(),
sassLoader: Joi.any(),
sassResources: [Joi.string(), Joi.array().items(Joi.string())],
responsiveLoader: Joi.any(),
})

export default (async function ValidateWebpackConfig(config, stage) {
Expand Down

0 comments on commit 0598e41

Please sign in to comment.