A customized version of the RequireJS optimizer (r.js) tailored for Mozu applications. This package provides a command-line tool for building AMD modules using the RequireJS module system. Version 3.0.2 is the latest release, but it is based on an older r.js codebase. It supports Node.js, Rhino/Java, and xpcshell environments. The primary use case is optimizing and combining AMD modules for browser delivery. Compared to the official requirejs package, this fork may include Mozu-specific patches or configuration defaults. However, it is largely unmaintained and users are advised to use the official `requirejs` package instead.
npm install mozu-require-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install the official requirejs package, create a build configuration for your AMD project, and run the optimizer.
npm uninstall -g mozu-require-compiler && npm install -g requirejs
Use requirejs package or update to a maintained AMD bundler.
Run `r.js -v` instead of `mozu-require-compiler`.
Review the default build config; override in your project's config file.
Migrate to requirejs or a modern bundler like webpack or Rollup.
npm install -g mozu-require-compiler (deprecated) or use requirejs instead.
Use define/require in AMD style, or convert to CommonJS if using Node.
Ensure mozu-require-compiler is installed globally with -g flag.
Provide absolute path or ensure file exists relative to working directory.