We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ca1791 commit 3ffb3b1Copy full SHA for 3ffb3b1
1 file changed
packages/terser/index.js
@@ -164,7 +164,7 @@ function main() {
164
try {
165
// If necessary, get the new `terser` binary, added for >=4.3.0
166
terserBinary = terserBinary || require.resolve('terser/bin/terser');
167
- } finally {
+ } catch (e) {
168
// If necessary, get the old `uglifyjs` binary from <4.3.0
169
terserBinary = terserBinary || require.resolve('terser/bin/uglifyjs');
170
}
0 commit comments