mirror of
https://github.com/fazo96/ipfs-boards
synced 2025-01-25 14:54:19 +01:00
shrink down webpack config
This commit is contained in:
parent
bda7708c70
commit
6670d6406b
@ -29,19 +29,12 @@ module.exports = {
|
||||
{
|
||||
test: /\.jsx?$/,
|
||||
exclude: /(node_modules|bower_components)/,
|
||||
include: /webapp|lib|node_modules\/(ipfs-api|hoek|qs|boom|wreck)/,
|
||||
loader: 'babel',
|
||||
query: {
|
||||
presets: ['es2015','react'],
|
||||
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