chinwagsocial/config/webpack/loaders/babel.js
2017-06-01 17:27:35 +02:00

8 lines
163 B
JavaScript

module.exports = {
test: /\.js$/,
exclude: /node_modules/,
loader: 'babel-loader',
options: {
forceEnv: process.env.NODE_ENV || 'development',
},
};