babel-plugin-openui5-support

0.1.1 • Public • Published

babel-plugin-openui5-support

Plugin to modify OpenUI5 to exclude or lazy load support modules.

Examples

Load Async (default)

This will load the support module async when the configuration is enabled. It will replace the UI5 code with an ES6 import statement, which can be understood by webpack.

{
  "plugins": ["openui5-support"]
}

Remove completely

This will remove the support module bootstrapping from the code completely

{
  "plugins": [
    [
      "openui5-support",
      {
        "mode": "remove"
      }
    ]
  ]
}

Package Sidebar

Install

npm i babel-plugin-openui5-support

Weekly Downloads

1

Version

0.1.1

License

Apache-2.0

Unpacked Size

20.8 kB

Total Files

20

Last publish

Collaborators

  • cevou