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

@@ -183,24 +183,89 @@
 eact',%0A    %5D
+.map(function(p) %7B return require.resolve('babel-preset-' + p) %7D)
 ,%0A    plugin
@@ -444,16 +444,81 @@
 ue%0A    %5D
+.map(function(p) %7B return require.resolve('babel-plugin-' + p) %7D)
 ,%0A  %7D%0A%7D;

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