module.exports = {
  test: /\.es6\.js$|\.js$|\.jsx$/,
  exclude: /node_modules/,
  loader: 'babel',
  query: {
    presets: [
      'es2015-native-modules',
      'stage-2',
      'react',
    ].map(function(p) { return require.resolve('babel-preset-' + p) }),
    plugins: [
      'transform-class-properties',
      'transform-react-constant-elements',
      'transform-react-inline-elements',
      'lodash', // fixes the babel budnling issue
    ].map(function(p) { return require.resolve('babel-plugin-' + p) }),
  }
};

@@ -191,73 +191,8 @@
    %5D
-.map(function(p) %7B return require.resolve('babel-preset-' + p) %7D)
 ,%0A  
@@ -383,73 +383,8 @@
    %5D
-.map(function(p) %7B return require.resolve('babel-plugin-' + p) %7D)
 ,%0A  

Revert "Fix module resolution for npm-link'd packages"