mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-13 04:16:34 +03:00
temporarily disable mangling
This commit is contained in:
parent
1f1eb9852a
commit
27752909d4
|
@ -109,13 +109,12 @@ gulp.task('concatDeps', ['concatPrism'], function() {
|
||||||
|
|
||||||
gulp.task('bundle', ['injectVersionFile'], function bundle(done) {
|
gulp.task('bundle', ['injectVersionFile'], function bundle(done) {
|
||||||
mkdir('-p', 'dist');
|
mkdir('-p', 'dist');
|
||||||
cp('lib/index.js', path.join(paths.tmp, paths.sourceEntryPoint));
|
|
||||||
var builder = new Builder('./', 'system.config.js');
|
var builder = new Builder('./', 'system.config.js');
|
||||||
|
|
||||||
builder
|
builder
|
||||||
.buildStatic(path.join(paths.tmp, paths.sourceEntryPoint),
|
.buildStatic(path.join(paths.tmp, paths.sourceEntryPoint),
|
||||||
outputFileName,
|
outputFileName,
|
||||||
{ format:'umd', sourceMaps: !argv.prod, lowResSourceMaps: true, minify: argv.prod, globalName: 'Redoc' }
|
{ format:'umd', sourceMaps: !argv.prod, lowResSourceMaps: true, minify: argv.prod, mangle: false, globalName: 'Redoc' }
|
||||||
)
|
)
|
||||||
.then(() => {
|
.then(() => {
|
||||||
// wait some time to allow flush
|
// wait some time to allow flush
|
||||||
|
|
Loading…
Reference in New Issue
Block a user