From 2c71c811431c9d053f2f10ee0edbfc1caccdaf52 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