You are browsing the documentation for version 3.1 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.0 (the latest LTS version) of the Oro documentation to get the updated information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
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.