chore: 修复 downshift 使用 es6 语法导致 (#8371)

低版本浏览器报错问题 Closes #5011
This commit is contained in:
吴多益 2023-10-12 19:05:39 +08:00 committed by GitHub
parent 088aa1aba4
commit 088eeb96cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -253,7 +253,7 @@ fis.match('*.html:jsx', {
// 这些用了 esm
fis.match(
'{echarts/**.js,zrender/**.js,echarts-wordcloud/**.js,markdown-it-html5-media/**.js,react-hook-form/**.js,qrcode.react/**.js,axios/**.js}',
'{echarts/**.js,zrender/**.js,echarts-wordcloud/**.js,markdown-it-html5-media/**.js,react-hook-form/**.js,qrcode.react/**.js,axios/**.js,downshift/**.js,react-intersection-observer/**.js}',
{
parser: fis.plugin('typescript', {
sourceMap: false,