mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-20 06:35:20 +02:00
support webpack treeshaking
This commit is contained in:
parent
e76acc7517
commit
79d5322a96
|
@ -9,7 +9,7 @@
|
|||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"dist": "tsup"
|
||||
"dist": "tsup && tsc"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -24,6 +24,7 @@
|
|||
"bugs": {
|
||||
"url": "https://github.com/lucaburgio/iconoir/issues"
|
||||
},
|
||||
"sideEffects": false,
|
||||
"homepage": "https://github.com/lucaburgio/iconoir#readme",
|
||||
"peerDependencies": {
|
||||
"react": "^16.8.6 || ^17"
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"outDir": "./dist/esm"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"entryPoints": ["src/index.tsx"],
|
||||
"format": ["cjs", "esm"],
|
||||
"format": ["cjs"],
|
||||
"legacyOutput": true,
|
||||
"sourcemap": true,
|
||||
"minify": true,
|
||||
|
|
Loading…
Reference in a new issue