mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
handle pdfjs
This commit is contained in:
committed by
Tienson Qin
parent
3d369e032d
commit
abbd35a042
@@ -65,6 +65,14 @@ const common = {
|
||||
'node_modules/@highlightjs/cdn-assets/highlight.min.js',
|
||||
'node_modules/@isomorphic-git/lightning-fs/dist/lightning-fs.min.js'
|
||||
]).pipe(gulp.dest(path.join(outputPath, 'js'))),
|
||||
() => gulp.src([
|
||||
'node_modules/pdfjs-dist/build/pdf.js',
|
||||
'node_modules/pdfjs-dist/build/pdf.worker.js',
|
||||
'node_modules/pdfjs-dist/web/pdf_viewer.js'
|
||||
]).pipe(gulp.dest(path.join(outputPath, 'js', 'pdfjs'))),
|
||||
() => gulp.src([
|
||||
'node_modules/pdfjs-dist/cmaps/*.*',
|
||||
]).pipe(gulp.dest(path.join(outputPath, 'js', 'pdfjs', 'cmaps'))),
|
||||
() => gulp.src([
|
||||
'node_modules/@tabler/icons/iconfont/tabler-icons.min.css',
|
||||
'node_modules/inter-ui/inter.css',
|
||||
|
||||
Reference in New Issue
Block a user