This is the main plugin for webpack to build UI5 applications. It enables webpack to understand the UI5 module system.
By default UI5 controls don't have a dependency to their renderer. This loader scans UI5 controls and adds a dependency to the control, so that the renderer is included in the build.
This loader parses XML views and adds all controls used in XML views as dependency.
The manifest loader preprocesses a manifest.json
file and adds dependencies for the libraries and modules specified in it.
Please check the README.md
files of the sub packages to find out more about how to install and configure the
different plugins/loaders.
Depending on your project setup you will need a different combination of plugin and loaders.
openui5-webpack-plugin
is always neededopenui5-renderer-loader
is always neededopenui5-xml-loader
is only needed if you use XML Views in your applicationopenui5-manifest-loader
is only needed if you have a component and a separatemanifest.json
file
Check out the modified openui5-sample-app
for a working example.