mirror of
https://github.com/fazo96/ipfs-boards
synced 2025-01-26 15:04:19 +01:00
shrink down webpack config
This commit is contained in:
parent
bda7708c70
commit
6670d6406b
@ -29,19 +29,12 @@ module.exports = {
|
|||||||
{
|
{
|
||||||
test: /\.jsx?$/,
|
test: /\.jsx?$/,
|
||||||
exclude: /(node_modules|bower_components)/,
|
exclude: /(node_modules|bower_components)/,
|
||||||
|
include: /webapp|lib|node_modules\/(ipfs-api|hoek|qs|boom|wreck)/,
|
||||||
loader: 'babel',
|
loader: 'babel',
|
||||||
query: {
|
query: {
|
||||||
presets: ['es2015','react'],
|
presets: ['es2015','react'],
|
||||||
plugins: ['transform-runtime']
|
plugins: ['transform-runtime']
|
||||||
}
|
}
|
||||||
},{
|
|
||||||
test: /\.js$/,
|
|
||||||
include: /node_modules\/(ipfs-api|hoek|qs|boom|wreck)/,
|
|
||||||
loader: 'babel',
|
|
||||||
query: {
|
|
||||||
presets: ['es2015'],
|
|
||||||
plugins: ['transform-runtime']
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user