Show Topics
Getting Started
Compilers
Other Tools

Babel

Babel is a JavaScript compiler. It converts next generation javascript to code that runs on current browsers.

Prepros comes with built in support for babel compiler and it can convert ES6 to ES5 as well as React JSX without any additional configuration.

Using Custom Babel Plugins

To use custom babel plugins, Create a .babelrc file in the root of your project and install required node modules with npm. Prepros will automatically pick up .babelrc file and compile js using plugins defined in the file.

Babel Config

Go to project settings -> other settings -> babel to enable or disable built in plugins.