This package includes the Babel preset used by Create Alexa App.
Please refer to its documentation:
- Getting Started â€“ How to create a new app.
- User Guide â€“ How to develop apps bootstrapped with Create Alexa App.
Usage in Create Alexa App Projects
The easiest way to use this configuration is with Create Alexa App, which includes it by default. You donâ€™t need to install it separately in Create Alexa App projects.
Usage Outside of Create Alexa App
If you want to use this Babel preset in a project not built with Create Alexa App, you can install it with following steps.
First, install Babel.
Then create a file named
.babelrc with following contents in the root folder of your project: