mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +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:
parent
804aa896a7
commit
89b0fd9628
2 changed files with 1 additions and 2 deletions
|
@ -96,7 +96,6 @@ const AUTOPREFIXER_CONFIG = {
|
|||
const BABEL_TARGETS = ENV_TARGETS.join(", ");
|
||||
|
||||
const DEFINES = Object.freeze({
|
||||
PRODUCTION: true,
|
||||
SKIP_BABEL: true,
|
||||
TESTING: undefined,
|
||||
// The main build targets:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue