mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Upgrade PDF.js to v5 (#24948)
* Reapply "Upgrade PDF.js to v5 (#24646)" (#24946) * Upgrade core-js, caniuse-lite and babel GitOrigin-RevId: 63398189301b5f5adc8a17b332d92dccfc26d612
This commit is contained in:
@@ -380,12 +380,22 @@ module.exports = {
|
||||
context: `${dictionariesDir}/dictionaries`,
|
||||
},
|
||||
// Copy CMap files (used to provide support for non-Latin characters),
|
||||
// fonts and images from pdfjs-dist package to build output.
|
||||
// wasm, ICC profiles, fonts and images from pdfjs-dist package to build output.
|
||||
{
|
||||
from: 'cmaps',
|
||||
to: 'js/pdfjs-dist/cmaps',
|
||||
context: pdfjsDir,
|
||||
},
|
||||
{
|
||||
from: 'iccs',
|
||||
to: 'js/pdfjs-dist/iccs',
|
||||
context: pdfjsDir,
|
||||
},
|
||||
{
|
||||
from: 'wasm',
|
||||
to: 'js/pdfjs-dist/wasm',
|
||||
context: pdfjsDir,
|
||||
},
|
||||
{
|
||||
from: 'standard_fonts',
|
||||
to: 'fonts/pdfjs-dist',
|
||||
|
||||
Reference in New Issue
Block a user