From 09ec5578fca8b673214be9da1be5bde48e397c62 Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Sat, 21 Nov 2015 14:35:08 +0100 Subject: [PATCH] fixed #40 ugh this thing is fragile --- webpack.config.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index f24ac3d..76c0622 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -28,13 +28,21 @@ module.exports = { { test: /\.json$/, loader: 'json' }, { test: /\.jsx?$/, - include: /webapp|lib|node_modules\/(ipfs-api|hoek|qs|boom|wreck)/, exclude: /(node_modules|bower_components)/, 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'] + } } ] },