pdf.js/external/builder
Jonas Jenwald 4ab0ad3216 Move the __non_webpack_import__ re-writing into the Babel plugin
Note how we're using custom `__non_webpack_import__`-calls in the code-base, that we replace during the post-processing stage of the build, to be able to write `import`-calls that Webpack will leave alone during parsing.
This work-around is necessary since we let Babel discards all comments, given that we generally don't need/want them in the builds, hence why we cannot utilize `/* webpackIgnore: true */`-comments in the source-code.

After the changes in PR 17563 it thus seems to me that we should be able to just move this re-writing into the Babel plugin instead.
2024-02-12 10:49:43 +01:00
..
fixtures Handle CSS-comments better in the preprocess-function (PR 14963 follow-up) 2022-06-02 16:06:47 +02:00
fixtures_esprima Move the __non_webpack_import__ re-writing into the Babel plugin 2024-02-12 10:49:43 +01:00
babel-plugin-pdfjs-preprocessor.mjs Move the __non_webpack_import__ re-writing into the Babel plugin 2024-02-12 10:49:43 +01:00
builder.mjs Use object destructuring, rather than the merge helper, in the gulpfile 2023-10-18 13:49:26 +02:00
test-fixtures_esprima.mjs Replace the webpack+acorn transform with a Babel plugin 2024-01-23 16:00:59 +01:00
test-fixtures.mjs Replace the webpack+acorn transform with a Babel plugin 2024-01-23 16:00:59 +01:00