cevou / openui5-webpack

OpenUI5 support for webpack
Apache License 2.0
27 stars 7 forks source link
openui5 sapui5 webpack webpack-loader webpack-plugin

OpenUI5 Webpack

This repository contains some projects to build OpenUI5/SAPUI5 applications with webpack.

Projects

openui5-webpack-plugin

This is the main plugin for webpack to build UI5 applications. It enables webpack to understand the UI5 module system.

Documentation

openui5-render-loader

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.

Documentation

openui5-xml-loader

This loader parses XML views and adds all controls used in XML views as dependency.

Documentation

openui5-manifest-loader

The manifest loader preprocesses a manifest.json file and adds dependencies for the libraries and modules specified in it.

Documentation

Install

Please check the README.md files of the sub packages to find out more about how to install and configure the different plugins/loaders.

Usage

Depending on your project setup you will need a different combination of plugin and loaders.

Check out the modified openui5-sample-app for a working example.