You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have static initialization blocks that include pre-processor statements which make them conditionally empty, note e.g. how the following source code:
We have static initialization blocks that include pre-processor statements which make them conditionally empty, note e.g. how the following source code:
pdf.js/src/display/api.js
Lines 2016 to 2054 in c60c0d1
is transformed into (in that case for the MOZCENTRAL build):
https://searchfox.org/mozilla-central/rev/b6671f4c3afdb2b36e63c9d176f98a5959907259/toolkit/components/pdfjs/content/build/pdf.mjs#10434
Hence it seems like a good idea to, if possible, extend the Babel plugin to remove static initialization blocks that become empty during building.
The text was updated successfully, but these errors were encountered: