mirror of
https://github.com/fazo96/ipfs-boards
synced 2025-03-12 21:48:39 +01:00
fixed #40 ugh this thing is fragile
This commit is contained in:
parent
dfe8ed0359
commit
09ec5578fc
@ -28,13 +28,21 @@ module.exports = {
|
|||||||
{ test: /\.json$/, loader: 'json' },
|
{ test: /\.json$/, loader: 'json' },
|
||||||
{
|
{
|
||||||
test: /\.jsx?$/,
|
test: /\.jsx?$/,
|
||||||
include: /webapp|lib|node_modules\/(ipfs-api|hoek|qs|boom|wreck)/,
|
|
||||||
exclude: /(node_modules|bower_components)/,
|
exclude: /(node_modules|bower_components)/,
|
||||||
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