Demystifying JS: RequireJS & JS Components
Create a Custom RequireJS Config File
Free Preview
app/code/Macademy/JsFun/view/frontend/requirejs-config.js
/*
 * Magento looks for RequireJS configuration files within each module's
 * view/frontend folder named requirejs-config.js.
 * 
 * This config object will be injected into require.config() when Magento
 * loops through all of these files. Any specific configuration relating to
 * RequireJS goes within this config object.
 */
var config = {

}
Want to learn more?

Visit M.academy to learn much more about Magento, Laravel, PHP, Javascript, & Docker.

M.academy logo