From 37c1b59c9581e3c5224e417a6ce888e2574bd138 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Fri, 18 Mar 2022 13:23:34 +0000 Subject: [PATCH] Merge pull request #7130 from overleaf/ae-pdfjs-paths Fix paths for pdf.js cmaps and images GitOrigin-RevId: 9faeb3288e0a620653ecdaac2ef2a628d47a3eb8 --- services/web/webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/web/webpack.config.js b/services/web/webpack.config.js index 9a429c89a7..8b02b6ab56 100644 --- a/services/web/webpack.config.js +++ b/services/web/webpack.config.js @@ -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}`, }, ] }),