react-native/local-cli/server
Bhuwan Khattar 234f4f538d Introduce HasteImpl
Summary:
Similar to https://github.com/facebook/jest/pull/2877, this introduces an optional config `HasteImpl` of type `{getHasteName(filePath: string): (string|void)}` that returns the haste name for a module at filePath if it is a haste module or undefined otherwise.

This allows us to inject a custom implementation of haste's module id resolution rather than only relying on `providesModule` annotations

Reviewed By: davidaurelio

Differential Revision: D4589372

fbshipit-source-id: 4d1983dfbf09c9d67faf725e86ae86ab42433b7d
2017-02-27 14:04:58 -08:00
..
middleware Remove build artifacts 2017-02-03 06:58:35 -08:00
util BREAKING: Change the js1 - packager - RN App protocol to version 2 2017-02-16 04:30:00 -08:00
checkNodeVersion.js
formatBanner.js fix banner for old node version 2016-06-22 03:43:33 -07:00
runServer.js Introduce HasteImpl 2017-02-27 14:04:58 -08:00
server.js Add symlinks under node_modules as part of projectRoots 2017-01-31 03:43:39 -08:00