mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 01:54:08 +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]))
|
gulp.src(JS_DEV_DEPS.concat([paths.redocBuilt]))
|
||||||
.pipe(sourcemaps.init({loadMaps: true}))
|
.pipe(sourcemaps.init({loadMaps: true}))
|
||||||
.pipe(concat(paths.outputName))
|
.pipe(concat(paths.outputName))
|
||||||
.pipe(sourcemaps.write())
|
.pipe(sourcemaps.write('.'))
|
||||||
.pipe(gulp.dest(paths.output))
|
.pipe(gulp.dest(paths.output))
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ gulp.task('bundleSfx', ['inlineTemplates'], function(cb) {
|
||||||
builder
|
builder
|
||||||
.buildStatic(path.join(paths.tmp, paths.sourceEntryPoint),
|
.buildStatic(path.join(paths.tmp, paths.sourceEntryPoint),
|
||||||
paths.redocBuilt,
|
paths.redocBuilt,
|
||||||
{ globalName: 'Redoc', sourceMaps: true }
|
{ globalName: 'Redoc', sourceMaps: true, lowResSourceMaps: true }
|
||||||
)
|
)
|
||||||
.then(function() {
|
.then(function() {
|
||||||
cb();
|
cb();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user