mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-30 17:44:07 +03:00
Fix source map appended as base64
This commit is contained in:
parent
2d831f7a46
commit
53ea1008eb
|
@ -34,7 +34,7 @@ gulp.task('concatDeps', ['bundleSfx'], function() {
|
|||
gulp.src(JS_DEV_DEPS.concat([paths.redocBuilt]))
|
||||
.pipe(sourcemaps.init({loadMaps: true}))
|
||||
.pipe(concat(paths.outputName))
|
||||
.pipe(sourcemaps.write())
|
||||
.pipe(sourcemaps.write('.'))
|
||||
.pipe(gulp.dest(paths.output))
|
||||
});
|
||||
|
||||
|
@ -43,7 +43,7 @@ gulp.task('bundleSfx', ['inlineTemplates'], function(cb) {
|
|||
builder
|
||||
.buildStatic(path.join(paths.tmp, paths.sourceEntryPoint),
|
||||
paths.redocBuilt,
|
||||
{ globalName: 'Redoc', sourceMaps: true }
|
||||
{ globalName: 'Redoc', sourceMaps: true, lowResSourceMaps: true }
|
||||
)
|
||||
.then(function() {
|
||||
cb();
|
||||
|
|
Loading…
Reference in New Issue
Block a user