Skip to content

Commit

Permalink
fix: improve babe-transform handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Aug 23, 2016
1 parent ae36fb8 commit 38fe6c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/babel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
'use strict'

module.exports = {
plugins: [require.resolve('babel-plugin-transform-runtime')],
plugins: [[require.resolve('babel-plugin-transform-runtime'), {
regenerator: false
}]],
presets: [require.resolve('babel-preset-es2015')]
}
2 changes: 1 addition & 1 deletion config/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const shared = {
query: babel
}, {
test: /\.js$/,
include: /node_modules\/(hoek|qs|wreck|boom|ipfs|promisify-es)/,
include: /node_modules\/(hoek|qs|wreck|boom|ipfs|promisify-es|whatwg-fetch|node-fetch|isomorphic-fetch|db\.js)/,
loader: 'babel',
query: babel
}, {
Expand Down

0 comments on commit 38fe6c2

Please sign in to comment.