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