diff --git a/bin/merge-babel-config.js b/bin/merge-babel-config.js index bb024ff..00aed96 100644 --- a/bin/merge-babel-config.js +++ b/bin/merge-babel-config.js @@ -28,6 +28,7 @@ module.exports = (userBabelConfig, verbose) => { ]; babelConfig.env.development.plugins.unshift(hmrConfig); + babelConfig.cacheDirectory = true; const babelLoader = 'babel-loader?' + JSON.stringify(babelConfig); const jsLoaders = [babelLoader];