Miss any of our Open RFC calls?Watch the recordings here! »

babel-preset-expo

6.0.0 • Public • Published

babel-preset-expo

If you have problems with the code in this repository, please file issues & bug reports at https://github.com/expo/expo. Thanks!

Options

web.disableImportExportTransform

Enabling this option will allow your project to run with older JavaScript syntax (i.e. module.exports). This option will break tree shaking and increase your bundle size, but will eliminate the following error when module.exports is used:

TypeError: Cannot assign to read only property 'exports' of object '#<Object>'

default: false

[
    'babel-preset-expo',
    {
        web: { disableImportExportTransform: true }
    }
],

Install

npm i [email protected]

Version

6.0.0

License

MIT

Unpacked Size

2.79 kB

Total Files

3

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar