remove babel-loader options in webpack since it's not necessary

This commit is contained in:
Connor Hudson 2018-06-20 16:25:42 -04:00
parent b2ddc50529
commit bd47d763fa

View file

@ -79,14 +79,7 @@ module.exports = {
{
test: /\.jsx?$/,
loader: 'babel-loader',
include: [path.resolve(__dirname, 'src'), /node_modules[\\/]scratch-[^\\/]+[\\/]src/],
options: {
babelrc: false,
presets: ['es2015', 'react'],
plugins: [
'transform-object-rest-spread'
]
}
include: [path.resolve(__dirname, 'src'), /node_modules[\\/]scratch-[^\\/]+[\\/]src/]
},
{
test: /\.scss$/,