mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 00:58:14 -05:00
remove babel-loader options in webpack since it's not necessary
This commit is contained in:
parent
b2ddc50529
commit
bd47d763fa
1 changed files with 1 additions and 8 deletions
|
@ -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$/,
|
||||
|
|
Loading…
Reference in a new issue