hometown/config/webpack/loaders/babel.js

9 lines
163 B
JavaScript
Raw Normal View History

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