You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.
In development this works a treat, but if I create a production build with config.requirejs.loader = :almond set, I get a javascript error saying "backbone missing jquery".
Now I noticed that during development the requirejs_include_tag generates a requirejs runtime config based on requirejs.yml. It appears that it doesn't include this in the almond single file build, is that how it's supposed to work?
If I add the map config to my javascript manually like so it works:
Hi @jwhitley,
first of all thanks for your work on this project, it's been working great for me.
One thing I'm having trouble with though is using map in almond builds.
This is my requirejs.yml:
In development this works a treat, but if I create a production build with
config.requirejs.loader = :almond
set, I get a javascript error saying "backbone missing jquery".Now I noticed that during development the
requirejs_include_tag
generates a requirejs runtime config based on requirejs.yml. It appears that it doesn't include this in the almond single file build, is that how it's supposed to work?If I add the map config to my javascript manually like so it works:
Please let me know if you need any more information.
The text was updated successfully, but these errors were encountered: