Not sure what’s up yet but putting this up so I don’t forget to check it later.
In the past, I could put this into Webpack config:

``` js
    resolve: {
        alias: {
            react: 'react/dist/react',
            'react-dom': 'react-dom/dist/react-dom',
        },
      }
```

Many people do that to improve build times.

This works with 0.14.x and 15.3.0 but not in master.
Most likely related to recent @sebmarkbage changes.

It fails like this:

<img width="760" alt="screen shot 2016-08-12 at 14 55 55" src="https://cloud.githubusercontent.com/assets/810438/17624533/e8b7c366-609c-11e6-8fe6-9adb951f12a8.png">

Seems like it claims to be a UMD shim but assumes global environment (whereas a true UMD shim would detect environment and fallback to `require` when available).

cc @zpao 

return UglifyJS.minify(src, {fromString: true}).code;
}
function bannerify(src) {
  var version = grunt.config.data.pkg.version;
  var packageName = this.data.packageName || this.data.standalone;
  return (
    grunt.template.process(
      LICENSE_TEMPLATE,
      {data: {package: packageName, version: version}}
    ) +
    src
  );
}
function simpleBannerify(src) {
  var version = grunt.config.data.pkg.version;
  var packageName = this.data.packageName || this.data.standalone;
  return (
    grunt.template.process(
      SIMPLE_TEMPLATE,
      {data: {package: packageName, version: version}}
    ) +
    src
  );
}
var basic = {
  entries: [
    './build/node_modules/react/lib/ReactUMDEntry.js',
  ],
  outfile: './build/react.js',
  debug: false,