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:
@@ -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'] = {
|
||||
|
||||
Reference in New Issue
Block a user