diff options
Diffstat (limited to 'config/webpack/loaders/babel.js')
-rw-r--r-- | config/webpack/loaders/babel.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/config/webpack/loaders/babel.js b/config/webpack/loaders/babel.js deleted file mode 100644 index d8d785b98..000000000 --- a/config/webpack/loaders/babel.js +++ /dev/null @@ -1,13 +0,0 @@ -const { resolve } = require('path'); - -const env = process.env.NODE_ENV || 'development'; - -module.exports = { - test: /\.js$/, - exclude: /node_modules/, - loader: 'babel-loader', - options: { - sourceRoot: 'app/javascript', - cacheDirectory: env === 'development' ? false : resolve(__dirname, '..', '..', '..', 'tmp', 'cache', 'babel-loader'), - }, -}; |