1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Remove the remaining PRODUCTION build-target usage

After the previous patch we now have only *a single* `PRODUCTION` occurrence in the entire code-base, more specifically in the `web/viewer.html` file.
This special build-target can be replaced with any condition that always evaluate to `false`, such as e.g. a comment.

*Please note:* This patch might be considered too hacky, hence I completely understand if it's rejected.
This commit is contained in:
Jonas Jenwald 2023-03-19 12:42:22 +01:00
parent 804aa896a7
commit 89b0fd9628
2 changed files with 1 additions and 2 deletions

View file

@ -49,7 +49,7 @@ See https://github.com/adobe-type-tools/cmap-resources
<!--<script src="resource://pdf.js/web/viewer.js"></script>-->
<!--#elif !MINIFIED-->
<!--<script src="viewer.js"></script>-->
<!--#elif !PRODUCTION-->
<!--#elif /* Development mode. */-->
<link rel="resource" type="application/l10n" href="locale/locale.properties">
<script defer src="../node_modules/es-module-shims/dist/es-module-shims.js"></script>