about summary refs log tree commit diff
path: root/config/webpack/loaders/babel.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack/loaders/babel.js')
-rw-r--r--config/webpack/loaders/babel.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/webpack/loaders/babel.js b/config/webpack/loaders/babel.js
index 7509617fd..d8d785b98 100644
--- a/config/webpack/loaders/babel.js
+++ b/config/webpack/loaders/babel.js
@@ -7,6 +7,7 @@ module.exports = {
   exclude: /node_modules/,
   loader: 'babel-loader',
   options: {
+    sourceRoot: 'app/javascript',
     cacheDirectory: env === 'development' ? false : resolve(__dirname, '..', '..', '..', 'tmp', 'cache', 'babel-loader'),
   },
 };