From 4dff32a482c10939b4a69a13bc1b2a61210e76ad Mon Sep 17 00:00:00 2001 From: Tharaka Wijebandara Date: Tue, 3 Oct 2017 06:08:38 +0530 Subject: [PATCH] Disable webpack cache --- packages/react-error-overlay/webpack.config.iframe.js | 9 +-------- packages/react-error-overlay/webpack.config.js | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/packages/react-error-overlay/webpack.config.iframe.js b/packages/react-error-overlay/webpack.config.iframe.js index 1df5a363f8..fc656a6447 100644 --- a/packages/react-error-overlay/webpack.config.iframe.js +++ b/packages/react-error-overlay/webpack.config.iframe.js @@ -22,14 +22,7 @@ module.exports = { { test: /\.js$/, include: path.resolve(__dirname, './src'), - use: [ - { - loader: 'babel-loader', - options: { - cacheDirectory: true, - }, - }, - ], + use: 'babel-loader', }, ], }, diff --git a/packages/react-error-overlay/webpack.config.js b/packages/react-error-overlay/webpack.config.js index bfbd845fb0..ad11e8aa1a 100644 --- a/packages/react-error-overlay/webpack.config.js +++ b/packages/react-error-overlay/webpack.config.js @@ -28,14 +28,7 @@ module.exports = { { test: /\.js$/, include: path.resolve(__dirname, './src'), - use: [ - { - loader: 'babel-loader', - options: { - cacheDirectory: true, - }, - }, - ], + use: 'babel-loader', }, ], },