1
0
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:
Enrico Fasoli 2015-11-21 14:35:08 +01:00
parent dfe8ed0359
commit 09ec5578fc

View File

@ -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']
}
} }
] ]
}, },