Next: , Previous: , Up: Configuration   [Index]


3.4.5.3 package.json

Alternatively, you can choose to specify your .babelrc.json config from within package.json using the ‘babel’ key like so:

{
  "name": "my-package",
  "version": "1.0.0",
  "babel": {
    "presets": [ ... ],
    "plugins": [ ... ],
  }
}