mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-02 14:02:22 +02:00
fix: use regular TS bundling to fix published release
This commit is contained in:
parent
6c61d402c2
commit
f60382ff49
|
@ -3,13 +3,12 @@
|
|||
"version": "2.2.0",
|
||||
"description": "React Native library for Iconoir icon set",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/esm/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"dist": "tsup && tsc",
|
||||
"dist": "tsc",
|
||||
"prepublish": "npm run dist"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -38,7 +37,6 @@
|
|||
"@types/react": "^17.0.29",
|
||||
"react": "^17.0.2",
|
||||
"react-native-svg": "^12.1.1",
|
||||
"tsup": "^5.4.0",
|
||||
"typescript": "^4.4.4"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"module": "esnext",
|
||||
"module": "commonjs",
|
||||
"declaration": true,
|
||||
"moduleResolution": "node",
|
||||
"jsx": "react",
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"outDir": "./dist/esm"
|
||||
"outDir": "./dist"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"entryPoints": ["src/index.tsx"],
|
||||
"format": ["cjs"],
|
||||
"legacyOutput": true,
|
||||
"minify": true,
|
||||
"clean": true,
|
||||
"dts": true
|
||||
}
|
|
@ -3,13 +3,12 @@
|
|||
"version": "2.2.0",
|
||||
"description": "React library for Iconoir icon set",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/esm/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"dist": "tsup && tsc",
|
||||
"dist": "tsc",
|
||||
"prepublish": "npm run dist"
|
||||
},
|
||||
"repository": {
|
||||
|
@ -34,7 +33,6 @@
|
|||
"devDependencies": {
|
||||
"@types/react": "^17.0.29",
|
||||
"react": "^17.0.2",
|
||||
"tsup": "^5.4.0",
|
||||
"typescript": "^4.4.4"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,13 +1,14 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "es5",
|
||||
"module": "esnext",
|
||||
"module": "commonjs",
|
||||
"declaration": true,
|
||||
"moduleResolution": "node",
|
||||
"jsx": "react",
|
||||
"strict": true,
|
||||
"esModuleInterop": true,
|
||||
"skipLibCheck": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"outDir": "./dist/esm"
|
||||
"outDir": "./dist"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"entryPoints": ["src/index.tsx"],
|
||||
"format": ["cjs"],
|
||||
"legacyOutput": true,
|
||||
"minify": true,
|
||||
"clean": true,
|
||||
"dts": true
|
||||
}
|
Loading…
Reference in a new issue