1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 01:28:06 +02:00
pdf.js/external/builder
Nicolò Ribaudo 46626ac64a
Update the Babel plugin to remove empty class constructors
This only happens when it's safe to do so. The exceptions are:
- when the class extends another subclass: removing the constructor would remove the error about the missing super() call
- when there are default parameters, that could have side effects
- when there are destructured prameters, that could have side effects
2024-05-13 11:51:43 +02:00
..
fixtures Handle CSS-comments better in the preprocess-function (PR 14963 follow-up) 2022-06-02 16:06:47 +02:00
fixtures_babel Update the Babel plugin to remove empty class constructors 2024-05-13 11:51:43 +02:00
babel-plugin-pdfjs-preprocessor.mjs Update the Babel plugin to remove empty class constructors 2024-05-13 11:51:43 +02:00
builder.mjs Use more optional chaining, and other modern JS, in the building code 2024-02-19 11:34:48 +01:00
test-fixtures.mjs Replace the webpack+acorn transform with a Babel plugin 2024-01-23 16:00:59 +01:00
test-fixtures_babel.mjs Rename builder esprima fixtures to babel 2024-05-09 15:17:30 +02:00