mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-08 16:15:49 +02:00
UglifyJS -> Terser
parent
2177708f3b
commit
d65fa17829
@ -145,7 +145,7 @@ You can build a minified version of PDF.js using the following command:
|
||||
|
||||
`gulp minified`
|
||||
|
||||
We use UglifyJS to minify the JS files. It is known that other minifiers might break PDF.js code if advanced options are used (see [#710](https://github.com/mozilla/pdf.js/issues/710) or [#2479](https://github.com/mozilla/pdf.js/issues/2479)). It's safe to use minifiers, such as Google Closure Compiler, in whitespace/comments removal mode.
|
||||
We use Terser to minify the JS files. It is known that other minifiers might break PDF.js code if advanced options are used (see [#710](https://github.com/mozilla/pdf.js/issues/710) or [#2479](https://github.com/mozilla/pdf.js/issues/2479)). It's safe to use minifiers, such as Google Closure Compiler, in whitespace/comments removal mode.
|
||||
|
||||
<a name="gh-pages"></a>
|
||||
## Is there a pre-built version PDF.js available?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user