How to import jQuery as a global variable with Symfony's AssetMapper?
With webpack-encore a script file could be added error free to a template with {{ encore_entry_script_tags('add-food') }} inside a properly formed JavaScript block. What is not at all clear is how to achieve the same effect with AssetMapper. The closest…