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 Nov 10, 2019. It is now read-only.
Reinstalling gulp-durandal and using generateSourceMaps I got two sourceMappingURLs, the first one bogus. When compilng main I got:
//# sourceMappingURL=main-built.js
//# sourceMappingURL="my real output filename".map
I tracked it down to an update of RequireJs to version 2.4.16.
Raised issue requirejs/r.js#802
Depending on the fix, the rjsConfig.out function rjsCb could be replaced by just options.output string.
Work around
In gulp-durandal index.js rjsCb function
if (sourceMapText) {
//Awaiting fix of https://github.com/jrburke/r.js/issues/802
text = text.replace(/\n\/\/# sourceMappingURL=.+?$/, '');
text += '//# sourceMappingURL=' + path.basename(mapOutput);
}
The text was updated successfully, but these errors were encountered:
Reinstalling gulp-durandal and using generateSourceMaps I got two sourceMappingURLs, the first one bogus. When compilng main I got:
I tracked it down to an update of RequireJs to version 2.4.16.
Raised issue requirejs/r.js#802
Depending on the fix, the rjsConfig.out function rjsCb could be replaced by just options.output string.
Work around
In gulp-durandal index.js rjsCb function
The text was updated successfully, but these errors were encountered: