about summary refs log tree commit diff
path: root/config/webpack/loaders/babel.js
blob: 8cd9170a23e3a6fe37d8c13a4ad28351c105025a (plain) (blame)
1
2
3
4
5
6
7
8
module.exports = {
  test: /\.js(\.erb)?$/,
  exclude: /node_modules/,
  loader: 'babel-loader',
  options: {
    forceEnv: process.env.NODE_ENV || 'development',
  },
};