Skip to content

Commit

Permalink
chore: 修复 downshift 使用 es6 语法导致
Browse files Browse the repository at this point in the history
低版本浏览器报错问题 Closes baidu#5011
  • Loading branch information
wuduoyi committed Oct 12, 2023
1 parent 79728dd commit 7a68031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fis-conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7a68031

Please sign in to comment.