From 6670d6406bf34a44f961b487fa333199f31006fd Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Fri, 20 Nov 2015 21:20:45 +0100 Subject: [PATCH] shrink down webpack config --- webpack.config.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 7af8433..93e01d0 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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'] - } } ] },