mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-10 19:06: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) {
|
||||
mkdir('-p', 'dist');
|
||||
cp('lib/index.js', path.join(paths.tmp, paths.sourceEntryPoint));
|
||||
var builder = new Builder('./', 'system.config.js');
|
||||
|
||||
builder
|
||||
.buildStatic(path.join(paths.tmp, paths.sourceEntryPoint),
|
||||
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(() => {
|
||||
// wait some time to allow flush
|
||||
|
|
Loading…
Reference in New Issue
Block a user