Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion packages/cherry-markdown/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ gulp.task('default', function (done) {
});
},
function handleFonts(cb) {
iconStream.pipe(gulp.dest('dist/fonts/')).on('finish', cb);
// 同时输出到 dist/fonts 和 src/sass/fonts
// dist/fonts 用于生产环境发布包
// src/sass/fonts 用于开发环境 yarn dev
iconStream
.pipe(gulp.dest('src/sass/fonts/'))
.pipe(gulp.dest('dist/fonts/'))
.on('finish', cb);
},
],
done,
Expand Down
Binary file not shown.
366 changes: 366 additions & 0 deletions packages/cherry-markdown/src/sass/fonts/ch-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.