Hi
I've javascript files of my module in amd/src folder and after grunt in amd/build folder. For example:
amd/src/main.js
amd/build/main.min.js
view.php calls:
$PAGE->requires->js_call_amd('mod_mymodule/main', 'Init')
It looks like main.js and other src files are always loaded. How do I get main.min.js and other min files loaded? Should or can I remove src files (causes an error)? Should I change the js_call or something else?
Thanks