Merge pull request #7130 from overleaf/ae-pdfjs-paths

Fix paths for pdf.js cmaps and images

GitOrigin-RevId: 9faeb3288e0a620653ecdaac2ef2a628d47a3eb8
This commit is contained in:
Alf Eaton 2022-03-18 13:23:34 +00:00 committed by Copybot
parent 0dcdc511a9
commit 37c1b59c95

View file

@ -326,10 +326,10 @@ module.exports = {
// and static images from pdfjs-dist package to build output.
return [
{ from: `${dir}/cmaps`, to: `js/${dir}/cmaps` },
{ from: `${dir}/cmaps`, to: `js/${version}/cmaps` },
{
from: `${dir}/legacy/web/images`,
to: `images/${dir}`,
to: `images/${version}`,
},
]
}),