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