Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/magiccube/babel-preset-ui5

An UNOFFICIAL preset for building SAP UI5 application with Babel.
https://github.com/magiccube/babel-preset-ui5

babel babel-plugin babel-preset sap sapui5 webpack

Last synced: 3 months ago
JSON representation

An UNOFFICIAL preset for building SAP UI5 application with Babel.

Awesome Lists containing this project

README

        

#FORE MORE INFORMATION, PLEASE VISIT [babel-plugin-ui5](https://github.com/MagicCube/babel-plugin-ui5)

# babel-preset-ui5
An UNOFFICIAL preset for building SAP UI5 application with Babel.

## Document
Please take a look at [https://github.com/MagicCube/babel-plugin-ui5](https://github.com/MagicCube/babel-plugin-ui5)

## Install

```sh
$ npm install --save-dev babel-preset-ui5
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
"presets": ["ui5"]
}
```

### Via CLI

```sh
$ babel script.js --presets ui5
```

### Via Node API

```javascript
require("babel-core").transform("code", {
presets: ["ui5"]
});
```