about summary refs log tree commit diff
path: root/config/webpack/rules/babel.js
diff options
context:
space:
mode:
Diffstat (limited to 'config/webpack/rules/babel.js')
-rw-r--r--config/webpack/rules/babel.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/webpack/rules/babel.js b/config/webpack/rules/babel.js
index ba1aff93a..8b6205a5c 100644
--- a/config/webpack/rules/babel.js
+++ b/config/webpack/rules/babel.js
@@ -12,6 +12,7 @@ module.exports = {
     {
       loader: 'babel-loader',
       options: {
+        sourceRoot: 'app/javascript',
         cacheDirectory: join(settings.cache_path, 'babel-loader'),
         cacheCompression: env.NODE_ENV === 'production',
         compact: env.NODE_ENV === 'production',