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.
For every version I've set the path to app and i18n to the specific iphone/ipad german/english version.
So, as requirejs' optimizer don't support multiple modules with the same name I've build a small node task that creates the config files dynamically. As we switch to requirejs-rails, we have the same problem as before.
So is there a way to have multiple config files for requirejs-rails?
The text was updated successfully, but these errors were encountered:
The gem doesn't currently support multiple config files, but it does pre-process config/requirejs.yml with ERB. So depending on your needs, you could provide a setting (even if just an environment variable) that chooses the particular build behavior you need. That kind of usage might integrate well with a Jenkins or other CI tool, which could do several build runs with the appropriate parameters. You could probably also just setup a single rake task to produce all the variant builds.
I've a project where I wanna build 4 different versions of my app, one for iPhone / iPad and german/english. All should use the same boot.js:
For every version I've set the path to
app
andi18n
to the specific iphone/ipad german/english version.So, as requirejs' optimizer don't support multiple modules with the same name I've build a small node task that creates the config files dynamically. As we switch to requirejs-rails, we have the same problem as before.
So is there a way to have multiple config files for requirejs-rails?
The text was updated successfully, but these errors were encountered: