mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-22 19:05:56 -04:00
Update webpack config to load scratch-* dependencies
This commit is contained in:
parent
b826a1ad2f
commit
df0db1b2c3
1 changed files with 6 additions and 2 deletions
|
@ -79,9 +79,13 @@ module.exports = {
|
|||
{
|
||||
test: /\.jsx?$/,
|
||||
loader: 'babel-loader',
|
||||
include: path.resolve(__dirname, 'src'),
|
||||
include: [path.resolve(__dirname, 'src'), /node_modules[\\/]scratch-[^\\/]+[\\/]src/],
|
||||
options: {
|
||||
presets: ['es2015', 'react']
|
||||
babelrc: false,
|
||||
presets: ['es2015', 'react'],
|
||||
plugins: [
|
||||
'transform-object-rest-spread'
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue