Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soontao/gulp-copy-ui5-thirdparty-library
gulp plugin for copy node_modules to sap ui5 module
https://github.com/soontao/gulp-copy-ui5-thirdparty-library
gulp javascirpt openui5 sapui5 ui5
Last synced: 1 day ago
JSON representation
gulp plugin for copy node_modules to sap ui5 module
- Host: GitHub
- URL: https://github.com/soontao/gulp-copy-ui5-thirdparty-library
- Owner: Soontao
- License: mit
- Created: 2018-10-29T13:58:01.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T14:52:10.000Z (about 1 year ago)
- Last Synced: 2024-11-23T04:18:48.645Z (2 months ago)
- Topics: gulp, javascirpt, openui5, sapui5, ui5
- Language: JavaScript
- Homepage:
- Size: 487 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# gulp-copy-ui5-thirdparty-library
[![npm version](https://badge.fury.io/js/gulp-copy-ui5-thirdparty-library.svg)](https://badge.fury.io/js/gulp-copy-ui5-thirdparty-library)
[![GitHub license](https://img.shields.io/github/license/Soontao/gulp-copy-ui5-thirdparty-library.svg)](https://github.com/Soontao/gulp-copy-ui5-thirdparty-library/blob/master/LICENSE)Next-Generation-UI5 modules, support ui5 use ALL modules in npm environment.
![](https://openui5.org/images/OpenUI5_new_big_side.png)
## internal
This plugin will use `rollup` to package nodejs module to `umd` format and copy its to destination with ui5 module defination format:
```js
sap.ui.define("lodash", function() {
// ... umd module definationreturn this.lodash;
})
```## usage
```js
gulp.src("./package.json").pipe(
// this lib will convert node.js library to ui5 module format
copyUi5Lib(
{
// index html path
indexTemplateAbsPath: join(__dirname, "./src/index.html"),
// target js output path
thirdpartyLibPath: "_thridparty"
}
)
)
```