Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/magiccube/ui5-loader
An UNOFFICIAL experimental Webpack loader for SAP UI5. Together with my Babel plugin(https://github.com/MagicCube/babel-plugin-ui5), you are abel to use Webpack + Babel to build your next generation UI5 applications.
https://github.com/magiccube/ui5-loader
babel sap sapui5 webpack webpack-babel
Last synced: 22 days ago
JSON representation
An UNOFFICIAL experimental Webpack loader for SAP UI5. Together with my Babel plugin(https://github.com/MagicCube/babel-plugin-ui5), you are abel to use Webpack + Babel to build your next generation UI5 applications.
- Host: GitHub
- URL: https://github.com/magiccube/ui5-loader
- Owner: MagicCube
- License: mit
- Created: 2016-06-03T04:55:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-08T04:10:16.000Z (over 7 years ago)
- Last Synced: 2024-10-14T18:40:42.007Z (22 days ago)
- Topics: babel, sap, sapui5, webpack, webpack-babel
- Language: JavaScript
- Size: 5.86 KB
- Stars: 20
- Watchers: 1
- Forks: 4
- 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)
# ui5-loader
An UNOFFICIAL experimental Webpack loader for SAP UI5. Together with my Babel
plugin(https://github.com/MagicCube/babel-plugin-ui5), you are abel to use
Webpack + Babel to build your next generation UI5 applications.## Usage
### 1. Install babel-preset-ui5
Please refer to [babel-preset-ui5](https://github.com/MagicCube/babel-preset-ui5).### 2. Install ui5-loader
```sh
$ npm install --save-dev ui5-loader
```### 3. Configure webpack.config.js
```javascript
{
...
module: {
loaders: [
{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
loaders: [
"ui5-loader?sourceRoot=./src",
"babel-loader?sourceRoot=./src"
]
}
]
}
}
```