about summary refs log tree commit diff
path: root/config/webpack/loaders/babel.js
blob: e58d0633e79ec8d20ba731a2800fe8b9b47d24ec (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'
  }
}