From 9bdb95c9e34cef640534e5e5a1e2225a80442000 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:48:15 +0800
Subject: [PATCH] TODO#139894 [ footer -最下方說明與保經代合作 ] 文案修改

---
 PAMapp/node_modules/@babel/plugin-syntax-jsx/lib/index.js |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/PAMapp/node_modules/@babel/plugin-syntax-jsx/lib/index.js b/PAMapp/node_modules/@babel/plugin-syntax-jsx/lib/index.js
index 8555ea2..a9d0136 100644
--- a/PAMapp/node_modules/@babel/plugin-syntax-jsx/lib/index.js
+++ b/PAMapp/node_modules/@babel/plugin-syntax-jsx/lib/index.js
@@ -13,11 +13,15 @@
     name: "syntax-jsx",
 
     manipulateOptions(opts, parserOpts) {
-      if (parserOpts.plugins.some(p => (Array.isArray(p) ? p[0] : p) === "typescript")) {
+      const {
+        plugins
+      } = parserOpts;
+
+      if (plugins.some(p => (Array.isArray(p) ? p[0] : p) === "typescript")) {
         return;
       }
 
-      parserOpts.plugins.push("jsx");
+      plugins.push("jsx");
     }
 
   };

--
Gitblit v1.8.0