mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-29 18:46:20 -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?$/,
|
test: /\.jsx?$/,
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
include: [path.resolve(__dirname, 'src'), /node_modules[\\/]scratch-[^\\/]+[\\/]src/],
|
include: [path.resolve(__dirname, 'src'), /node_modules[\\/]scratch-[^\\/]+[\\/]src/]
|
||||||
options: {
|
|
||||||
babelrc: false,
|
|
||||||
presets: ['es2015', 'react'],
|
|
||||||
plugins: [
|
|
||||||
'transform-object-rest-spread'
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.scss$/,
|
test: /\.scss$/,
|
||||||
|
|
Loading…
Reference in a new issue