diff --git a/webpack.common.js b/webpack.common.js
index 2e05db67c2b6fa1a54a2bdb3afda9012826cbeff..15df3548ca36eb34c607a2db81fab2b72059fa26 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -90,7 +90,10 @@ module.exports = {
                 test: /\.js$/,
                 exclude: /node_modules|ckeditor/,
                 use: {
-                    loader: 'babel-loader'
+                    loader: 'babel-loader',
+                    options: {
+                        cacheDirectory: true
+                    }
                 }
             },
             {