metro icon indicating copy to clipboard operation
metro copied to clipboard

[docs] question: any possible read about `getTransformOptions` more in detail?

Open donni106 opened this issue 3 years ago • 1 comments

At https://facebook.github.io/metro/docs/configuration/#transformer-options there is only mentioned that there are getTransformOptions but not in detail. I would like to know more about:

getTransformOptions: async () => ({
  transform: {
    experimentalImportSupport: false,
    inlineRequires: true
  }
})

Especially these to keys are used in my project but I do not know why. It was auto included. I would like to know more in detail what these are for. Thanks.

donni106 avatar Jul 15 '22 11:07 donni106

Inline Requires: https://reactnative.dev/docs/ram-bundles-inline-requires#inline-requires

danilobuerger avatar Jul 27 '22 11:07 danilobuerger