I am new to magento and i have researched this issue i am having for enough time to post it here.
My goal is to understand how require-js works with node modules.
$themeDir = app/design/frontend/<whatever>/<theme_name> I have `$themeDir/node_modules` installed via npm I have `$themeDir/require-config.js`
- I want to include in all pages node_modules/bootstrap/js/dist/aaa.js
- I also want to define
$themeDir/Whatever_Module/require-config.jsso i can call it within .phtml templates found in Whatever_Module
How would i go about doing such a thing ? I don't have any specifics but this is a info case that i need to properly understand.