OroRequireJSBundle uses the RequireJS library to enable a modular structure of JS components in Oro applications.

The bundle enables developers to define RequireJS configuration in YAML files on the bundle level. It also provides a CLI tool to collect RequireJS modules and configuration from bundles, merge and minify them in the production mode.

For details of the RequireJS configuration options, see RequireJS API Configuration. For details of the RequireJS build options, see example.build.js.