diff --git a/packages/icons-react/.fatherrc.js b/packages/icons-react/.fatherrc.js index 43ed7e891..8069e43f5 100644 --- a/packages/icons-react/.fatherrc.js +++ b/packages/icons-react/.fatherrc.js @@ -1,17 +1,21 @@ import { defineConfig } from 'father'; - - - const config = defineConfig({ // Locked version only supports 1.0.0 plugins: ['@rc-component/father-plugin'], esm: { transformer: 'swc', + platform: 'browser', + targets: { + ie: 11, + }, }, cjs: { transformer: 'swc', - } + targets: { + ie: 11, + }, + }, }); if (process.env.NODE_ENV !== 'ci') { @@ -42,4 +46,4 @@ if (process.env.NODE_ENV !== 'ci') { }; } -export default config; \ No newline at end of file +export default config;