14ef0b4211
Looking at the *built* files you'll notice some lines containing nothing more than a semicolon. This is the result of (mostly top-level) `if`-statements, which include `PDFJSDev`-checks, that evalute to `false` during Babel parsing. This has always annoyed me a bit, and looking at Babel plugin it seems that we can fix this simply by *removing* the relevant nodes.
19 lines
101 B
JavaScript
19 lines
101 B
JavaScript
if ('test') {
|
|
"1";
|
|
}
|
|
{
|
|
"1";
|
|
}
|
|
{
|
|
"1";
|
|
}
|
|
{
|
|
"2";
|
|
}
|
|
if ('1') {
|
|
"1";
|
|
}
|
|
function f1() {
|
|
"1";
|
|
}
|