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 26, 2018. It is now read-only.
requirejs.config({
urlArgs: 'v=' + (new Date().getTime())
});
However, when I run bower-requirejs I end up with a config that has an evaluated urlArgs option. I haven't looked deep in the source (I assume stringify is being used somewhere) but I did notice that there was a comment to perhaps change writeConfig to mergeConfig. Anyone have thoughts on how this may be accomplished?
The text was updated successfully, but these errors were encountered:
It cannot be easily changed as bower-requirejs depends on the requirejs parser, that evaluates the config when parsing it. Changing it will likely require a lot of overrides making this library harder to maintain.
A solution could be to separate the generated config from the one with variable properties to prevent them from being evaluated (see #38).
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
My requirejs config looks as such:
However, when I run bower-requirejs I end up with a config that has an evaluated urlArgs option. I haven't looked deep in the source (I assume stringify is being used somewhere) but I did notice that there was a comment to perhaps change writeConfig to mergeConfig. Anyone have thoughts on how this may be accomplished?
The text was updated successfully, but these errors were encountered: