Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Commit

Permalink
use cacheDirectory for faster builds
Browse files Browse the repository at this point in the history
  • Loading branch information
bdefore committed Jan 20, 2016
1 parent 54f2e8c commit 65d5dda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/merge-babel-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 65d5dda

Please sign in to comment.