lib/install/config/loaders/core/babel.js in webpacker-1.1 vs lib/install/config/loaders/core/babel.js in webpacker-1.2
- old
+ new
@@ -1,10 +1,5 @@
module.exports = {
test: /\.js(\.erb)?$/,
exclude: /node_modules/,
- loader: 'babel-loader',
- options: {
- presets: [
- ['env', { modules: false }]
- ]
- }
+ loader: 'babel-loader'
}