From 65d5dda19160d22d39fded508cb4662e2fe0b248 Mon Sep 17 00:00:00 2001 From: Buck DeFore Date: Wed, 20 Jan 2016 09:52:34 -0800 Subject: [PATCH] use cacheDirectory for faster builds --- bin/merge-babel-config.js | 1 + 1 file changed, 1 insertion(+) 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];