diff options
author | Jose <jose@zeroc.com> | 2015-08-10 16:43:20 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2015-08-10 16:43:20 +0200 |
commit | 0751cf71718c259a665872e7fce893c17dc3366b (patch) | |
tree | b5ea658a4d7f0e177139895f6a0dacfebcdc06b4 /js/gulpfile.js | |
parent | Windows build fix (diff) | |
download | ice-0751cf71718c259a665872e7fce893c17dc3366b.tar.bz2 ice-0751cf71718c259a665872e7fce893c17dc3366b.tar.xz ice-0751cf71718c259a665872e7fce893c17dc3366b.zip |
ICE-6669 - JavaScript sourceMappingURL issue
We not longer generate sourceMappingURL comments, to use source maps
you must add the sourceMappingURL comments or the appropiate
X-SourceMap header
Diffstat (limited to 'js/gulpfile.js')
-rw-r--r-- | js/gulpfile.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/gulpfile.js b/js/gulpfile.js index 0d2c24f73b6..c8d75ac5402 100644 --- a/js/gulpfile.js +++ b/js/gulpfile.js @@ -329,7 +329,7 @@ libs.forEach( modules: sources.modules, target: libFile(lib) })) - .pipe(sourcemaps.write("../lib", {sourceRoot:"/src"})) + .pipe(sourcemaps.write("../lib", {sourceRoot:"/src", addComment: false})) .pipe(gulp.dest("lib")) .pipe(gzip()) .pipe(gulp.dest("lib")); @@ -342,7 +342,7 @@ libs.forEach( .pipe(sourcemaps.init({loadMaps:true, sourceRoot:"./"})) .pipe(uglify({compress:false})) .pipe(extreplace(".min.js")) - .pipe(sourcemaps.write("../lib", {includeContent: false})) + .pipe(sourcemaps.write("../lib", {includeContent: false, addComment: false})) .pipe(gulp.dest("lib")) .pipe(gzip()) .pipe(gulp.dest("lib")); |