require.replace icon indicating copy to clipboard operation
require.replace copied to clipboard

Doesn't work with path fallbacks

Open pawelgur opened this issue 10 years ago • 1 comments

When using path callbacks as array of paths http://requirejs.org/docs/api.html#pathsfallbacks, require.replace breaks.

This would be nice to have, because if for some reasone replaced download fails (which is possible with dynamic path), you could always specify a fallback.

"require.replace": "~0.3.0" "requirejs": "2.1"

pawelgur avatar Mar 31 '15 16:03 pawelgur

Pull request welcomed

SBoudrias avatar Mar 31 '15 18:03 SBoudrias