1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 13:53:34 +00:00

exclude loading.svg. filter glyphicons

This commit is contained in:
Kyle Spearrin
2017-11-10 08:29:40 -05:00
parent 49d49b79bf
commit 186b1aedcb
2 changed files with 3 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ const sidebarActionManifestObj = {
function dist(browserName, manifest) {
return gulp.src(paths.dist + '**/*')
.pipe(gulpif(browserName !== 'edge', filter(['**', '!dist/edge/**/*'])))
.pipe(gulpif(browserName !== 'edge', filter(['**', '!dist/edge/**/*', '!dist/popup/fonts/glyphicons*'])))
.pipe(gulpif('popup/index.html', replace('__BROWSER__', browserName)))
.pipe(gulpif('manifest.json', jeditor(manifest)))
.pipe(zip(`dist-${browserName}.zip`))
@@ -83,6 +83,7 @@ function copyDistEdge(source, dest) {
return new Promise((resolve, reject) => {
gulp.src(source)
.on('error', reject)
.pipe(filter(['**', '!dist/popup/fonts/glyphicons*']))
.pipe(gulpif('popup/index.html', replace('__BROWSER__', 'edge')))
.pipe(gulpif('manifest.json', jeditor((manifest) => {
manifest['-ms-preload'] = {