fix font and css paths for dist
This commit is contained in:
parent
c2082134ff
commit
efe0487dc8
|
@ -217,8 +217,8 @@ gulp.task('dist:move', function () {
|
|||
dest: paths.dist + 'popup'
|
||||
},
|
||||
{
|
||||
src: 'src/popup/css/fonts/**/*',
|
||||
dest: paths.dist + 'popup/fonts'
|
||||
src: 'src/popup/css/webfonts/**/*',
|
||||
dest: paths.dist + 'popup/css/webfonts'
|
||||
},
|
||||
{
|
||||
src: paths.libDir + 'font-awesome/fonts/**/*',
|
||||
|
@ -277,7 +277,7 @@ gulp.task('dist:css', function () {
|
|||
// app
|
||||
paths.cssDir + 'popup.css'
|
||||
])
|
||||
.pipe(concat(paths.dist + 'popup/popup.css'))
|
||||
.pipe(concat(paths.dist + 'popup/css/popup.css'))
|
||||
.pipe(gulp.dest('.'));
|
||||
});
|
||||
|
||||
|
@ -473,7 +473,7 @@ function zipDist(fileName) {
|
|||
gulp.task('webfonts', function () {
|
||||
return gulp.src('./webfonts.list')
|
||||
.pipe(googleWebFonts({
|
||||
fontsDir: 'fonts',
|
||||
fontsDir: 'webfonts',
|
||||
cssFilename: 'webfonts.css'
|
||||
}))
|
||||
.pipe(gulp.dest(paths.cssDir));
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<title>bitwarden</title>
|
||||
|
||||
<!-- @if true !>
|
||||
<link rel="stylesheet" href="popup.css">
|
||||
<link rel="stylesheet" href="css/popup.css">
|
||||
<!-- @endif -->
|
||||
<!-- @exclude -->
|
||||
<link rel="stylesheet" href="css/webfonts.css">
|
||||
|
|
Loading…
Reference in New Issue