Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/magiccube/babel-preset-ui5
- Owner: MagicCube
- License: mit
- Created: 2016-05-31T07:42:50.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-08-09T05:32:44.000Z (over 8 years ago)
- Last Synced: 2024-10-11T23:04:38.388Z (3 months ago)
- Topics: babel, babel-plugin, babel-preset, sap, sapui5, webpack
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 4
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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"]
});
```