QuestionQ28

VerifiedAdobe Experience Manager Sites

An Adobe Commerce developer must alias URLs and third-party libraries within a requirejs-config.js file.

Which configuration should the developer use?

Explanation

RequireJS defines aliases for module IDs and third-party library locations with the paths configuration object. Each key is the module alias, and its value can be a local library path or an external URL. Adobe Commerce’s RequireJS configuration documentation likewise uses paths for module path mappings.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!