babel-preset-expo
The Babel preset for Expo projects
Last updated 2 months ago by evanbacon .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install babel-preset-expo 
SYNC missed versions from official npm registry.

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 }
    }
],

Current Tags

  • 5.2.0                                ...           latest (2 months ago)
  • 6.0.0                                ...           next (a month ago)

14 Versions

  • 6.0.0                                ...           a month ago
  • 5.2.0                                ...           2 months ago
  • 5.1.1                                ...           5 months ago
  • 5.1.0                                ...           5 months ago
  • 5.0.0                                ...           10 months ago
  • 5.0.0-rc.1                                ...           10 months ago
  • 5.0.0-rc.0                                ...           10 months ago
  • 4.0.0                                ...           2 years ago
  • 3.0.0                                ...           2 years ago
  • 3.0.0-alpha.0                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 2.0.0-rc.0                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago

Copyright 2014 - 2016 © taobao.org |