Use gulp-sourcemaps to generate a sourcemap

Chrome gets very confused by the sourceMappingURL from swagger-client.js. Use
gulp-sourcemaps to generate our own sourcemap which it is happier with (and
means that the other bits of swagger-ui.js are also correctly sourcemapped).
This commit is contained in:
Richard van der Hoff
2016-11-21 14:48:17 +00:00
parent 552865aa0d
commit edeba22a2a
2 changed files with 5 additions and 0 deletions

View File

@@ -43,6 +43,7 @@
"gulp-less": "^3.0.1",
"gulp-order": "^1.1.1",
"gulp-rename": "^1.2.0",
"gulp-sourcemaps": "^2.2.0",
"gulp-uglify": "^1.1.0",
"gulp-watch": "^4.1.1",
"gulp-wrap": "^0.11.0",