gulp-copy-ui5-thirdparty-library

1.6.0 • Public • Published

gulp-copy-ui5-thirdparty-library

npm version GitHub license

Next-Generation-UI5 modules, support ui5 use ALL modules in npm environment.

internal

This plugin will use rollup to package nodejs module to umd format and copy its to destination with ui5 module defination format:

sap.ui.define("lodash", function() {
  
  // ... umd module defination
 
  return this.lodash;
 
})

usage

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"
    }
  )
)

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-copy-ui5-thirdparty-library

Weekly Downloads

0

Version

1.6.0

License

MIT

Unpacked Size

103 kB

Total Files

7

Last publish

Collaborators

  • suntao