From 84a35fda6ca962ef879cf85978daf1ecd660b885 Mon Sep 17 00:00:00 2001 From: jamsonchan Date: Wed, 30 Aug 2023 13:45:23 +0800 Subject: [PATCH] fix side effect of ZK-4928 --- babel.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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