Skip to content

Commit

Permalink
take defaultLoaders from options object
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgorrie committed Feb 15, 2018
1 parent 81e8fb2 commit 028558e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = (nextConfig = {}) => {

config.module.rules.push({
test: /\.+(js|jsx)$/,
loader: defaultLoaders.babel,
loader: options.defaultLoaders.babel,
include: includes
})

Expand Down

0 comments on commit 028558e

Please sign in to comment.