Don't include @babel packages in generated bundles (#2764)
Don't include @babel packages in generated bundles (#2764)

Summary:
See background in https://github.com/facebook/relay/issues/2759.

Before this change, the `relay-compiler` binary pulls in `lodash`:

```
dist/relay-compiler/bin/relay-compiler
23734:module.exports = require("lodash/clone");
26487:module.exports = require("lodash/uniq");
27035:module.exports = require("lodash/isPlainObject");
27041:module.exports = require("lodash/isRegExp");
28413:module.exports = require("lodash/isInteger");
28419:module.exports = require("lodash/repeat");
```

And, only these files in `dist/` reference `lodash`:

```
$ rg lodash dist/ -l
dist/relay-compiler/relay-compiler.js
dist/relay-compiler/relay-compiler.min.js
dist/relay-compiler/bin/relay-compiler
```

After this change, no files in `dist/` contain references to `lodash`. This seems consistent with what's contained in Relay packages before they were upgraded to Babel 7 (where the `@` was added) in https://github.com/facebook/relay/issues/2536.
Pull Request resolved: https://github.com/facebook/relay/pull/2764

Reviewed By: alunyov

Differential Revision: D15793295

Pulled By: kassens

fbshipit-source-id: 14e9cc6d83a57d6853d8e41e82296d15f27750b2

iamchenxin/relay,facebook/relay,cpojer/relay,cpojer/relay,atxwebs/relay,wincent/relay,wincent/relay,cpojer/relay,facebook/relay,zpao/relay,kassens/relay,wincent/relay,kassens/relay,wincent/relay,zpao/relay,voideanvalue/relay,yungsters/relay,xuorig/relay,kassens/relay,xuorig/relay,wincent/relay,yungsters/relay,wincent/relay,xuorig/relay,iamchenxin/relay,kassens/relay,cpojer/relay,voideanvalue/relay,xuorig/relay,yungsters/relay,facebook/relay,iamchenxin/relay,zpao/relay,kassens/relay,facebook/relay,facebook/relay,josephsavona/relay,voideanvalue/relay,atxwebs/relay,iamchenxin/relay,voideanvalue/relay,josephsavona/relay,kassens/relay,atxwebs/relay,atxwebs/relay,xuorig/relay,xuorig/relay,facebook/relay,josephsavona/relay,voideanvalue/relay,voideanvalue/relay