2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-22 09:48:54 +00:00

fix: clean commonjs output for react component

This commit is contained in:
Vjacheslav Trushkin 2022-11-17 11:46:29 +02:00
parent a6123879a6
commit dba669623d
2 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,7 @@
"useDefineForClassFields": true,
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": false,
"skipLibCheck": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"strict": true,

View File

@ -26,6 +26,7 @@ names.forEach((name) => {
{
file: `dist/${name}.js`,
format: 'cjs',
interop: false,
},
],
external: ['react'],