diff --git a/babel.config.js b/babel.config.js index 96372fcd6c5..ac20a2193cb 100644 --- a/babel.config.js +++ b/babel.config.js @@ -22,6 +22,7 @@ module.exports = function (api) { overrides: [{ test: /[\\/]ext[\\/]//* treat as script for 3rd-party library */, sourceType: 'script' - }] + }], + exclude: /pdfviewer\/ext/ }; }; \ No newline at end of file