mirror of
https://github.com/bitwarden/browser
synced 2025-01-23 01:33:02 +01:00
include web fonts in bundled css
This commit is contained in:
parent
738a40a848
commit
e482ace0f7
@ -26,7 +26,6 @@ paths.npmDir = './node_modules/';
|
|||||||
paths.popupDir = './src/popup/';
|
paths.popupDir = './src/popup/';
|
||||||
paths.lessDir = paths.popupDir + 'less/';
|
paths.lessDir = paths.popupDir + 'less/';
|
||||||
paths.cssDir = paths.popupDir + 'css/';
|
paths.cssDir = paths.popupDir + 'css/';
|
||||||
paths.webfontsDir = paths.cssDir + 'webfonts/';
|
|
||||||
|
|
||||||
gulp.task('lint', function () {
|
gulp.task('lint', function () {
|
||||||
return gulp.src([
|
return gulp.src([
|
||||||
@ -287,7 +286,8 @@ function distCss(preprocessContext) {
|
|||||||
paths.libDir + '**/*.css',
|
paths.libDir + '**/*.css',
|
||||||
'!' + paths.libDir + '**/*.min.css',
|
'!' + paths.libDir + '**/*.min.css',
|
||||||
// app
|
// app
|
||||||
paths.cssDir + 'popup.css'
|
paths.cssDir + 'popup.css',
|
||||||
|
paths.cssDir + 'webfonts.css'
|
||||||
])
|
])
|
||||||
.pipe(preprocess({ context: preprocessContext }))
|
.pipe(preprocess({ context: preprocessContext }))
|
||||||
.pipe(concat(paths.dist + 'popup/css/popup.css'))
|
.pipe(concat(paths.dist + 'popup/css/popup.css'))
|
||||||
|
Loading…
Reference in New Issue
Block a user