pdf.js/external/builder/fixtures_esprima
Jonas Jenwald 14ef0b4211 Remove empty, top-level, nodes in the Babel plugin
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.
2024-02-09 13:58:24 +01:00
..
blocks-expected.js Replace the webpack+acorn transform with a Babel plugin 2024-01-23 16:00:59 +01:00
blocks.js Adds esprima-based preprocessor. 2016-10-14 08:33:22 -05:00
comments-expected.js Replace the webpack+acorn transform with a Babel plugin 2024-01-23 16:00:59 +01:00
comments.js Fix duplicated function name in the Esprima fixtures 2018-08-25 16:23:20 +02:00
constants-expected.js Replace the webpack+acorn transform with a Babel plugin 2024-01-23 16:00:59 +01:00
constants.js Adds esprima-based preprocessor. 2016-10-14 08:33:22 -05:00
deadcode-expected.js Replace the webpack+acorn transform with a Babel plugin 2024-01-23 16:00:59 +01:00
deadcode.js Replace the webpack+acorn transform with a Babel plugin 2024-01-23 16:00:59 +01:00
evals-expected.js Fix transform of unary expression in Babel plugin 2024-01-29 11:53:17 +01:00
evals.js Fix transform of unary expression in Babel plugin 2024-01-29 11:53:17 +01:00
evals.json Replace the webpack+acorn transform with a Babel plugin 2024-01-23 16:00:59 +01:00
ifs-expected.js Remove empty, top-level, nodes in the Babel plugin 2024-02-09 13:58:24 +01:00
ifs.js Remove empty, top-level, nodes in the Babel plugin 2024-02-09 13:58:24 +01:00
importalias-expected.js Remove support for require statements from the build system 2024-02-07 13:34:46 +01:00
importalias.js Remove support for require statements from the build system 2024-02-07 13:34:46 +01:00