diff --git a/lib/builder/builder.js b/lib/builder/builder.js index d61dce35e2..97a334a029 100644 --- a/lib/builder/builder.js +++ b/lib/builder/builder.js @@ -180,10 +180,12 @@ module.exports = class Builder { const options = _.defaults( {}, { - babelrc: false, cacheDirectory: !!this.options.dev }, - this.options.build.babel + this.options.build.babel, + { + babelrc: false + } ) if (typeof options.presets === 'function') {