UglifyJS -> Terser

Tim van der Meij 2020-02-18 23:52:52 +01:00
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?