Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pass custom customTransformOptions and customResolverOptions to bundl…
…e_build_started log event (facebook#1061) Summary: We use `customTransformOptions` in Expo CLI to inform Metro that we're bundling for a Node.js environment (in addition to the `platform=web`), but the logger has no way of indicating to the user that a bundle is Server-specific. This change would enable us to refine the bundling message based on the additional criteria. We can do this if we skip over the server (exports/builds) but it'd be good to have parity. [Example usage](https://github.com/expo/expo/blob/e4eba8a7c9d8134c10578a47d39ddf5294aca9e4/packages/%40expo/cli/src/start/server/metro/MetroTerminalReporter.ts#L227), [corresponding output](https://github.com/expo/expo/blob/e4eba8a7c9d8134c10578a47d39ddf5294aca9e4/packages/%40expo/cli/src/start/server/metro/__tests__/MetroTerminalReporter-test.ts#L61). Pull Request resolved: facebook#1061 Reviewed By: huntie Differential Revision: D48454083 Pulled By: robhogan fbshipit-source-id: 08954b89c9747adfb4db3899ce3f628edbf8e790
- Loading branch information