glitchier-soc/config/webpack/loaders/babel.js

8 lines
168 B
JavaScript

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