1
0
mirror of https://github.com/bitwarden/web synced 2025-12-12 06:13:28 +00:00

no config in u2f build

This commit is contained in:
Kyle Spearrin
2017-07-14 15:51:49 -04:00
parent 715835c12f
commit c40193c861

View File

@@ -379,7 +379,7 @@ gulp.task('dist:js:fallback', function () {
paths.webroot + 'js/fallback*.js' paths.webroot + 'js/fallback*.js'
]); ]);
merge(mainStream, config()) merge(mainStream)
.pipe(preprocess({ context: { cacheTag: randomString } })) .pipe(preprocess({ context: { cacheTag: randomString } }))
.pipe(uglify()) .pipe(uglify())
.pipe(rename({ suffix: '.min' })) .pipe(rename({ suffix: '.min' }))
@@ -392,7 +392,7 @@ gulp.task('dist:js:u2f', function () {
paths.webroot + 'js/u2f*.js' paths.webroot + 'js/u2f*.js'
]); ]);
merge(mainStream, config()) merge(mainStream)
.pipe(concat(paths.dist + '/js/u2f.min.js')) .pipe(concat(paths.dist + '/js/u2f.min.js'))
.pipe(uglify()) .pipe(uglify())
.pipe(gulp.dest('.')); .pipe(gulp.dest('.'));