Skip to content

Commit 62f280f

Browse files
committed
chore(flexbox): One more package.json fix
1 parent 4396f81 commit 62f280f

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.changeset/wet-readers-relate.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@plextv/react-lightning-plugin-flexbox": patch
3+
---
4+
5+
chore(flexbox): One more package.json fix

packages/plugin-flexbox/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"type": "module",
1515
"main": "./dist/cjs/index.js",
1616
"module": "./dist/es/index.production.js",
17+
"types": "./dist/types/index.d.ts",
1718
"exports": {
1819
".": "./src/index.ts",
1920
"./package.json": "./package.json",
@@ -25,7 +26,8 @@
2526
"exports": {
2627
".": {
2728
"import": "./dist/es/index.production.js",
28-
"require": "./dist/cjs/index.js"
29+
"require": "./dist/cjs/index.js",
30+
"types": "./dist/types/index.d.ts"
2931
},
3032
"./package.json": "./package.json",
3133
"./jsx": "./dist/types/types/jsx.d.ts"
@@ -43,7 +45,6 @@
4345
"build:copy-dts": "copyfiles -f src/types/jsx.d.ts dist/types/types",
4446
"clean": "del ./dist",
4547
"check:types": "tsc --noEmit",
46-
"postinstall": "pnpm run build:worker",
4748
"test:unit": "vitest run --passWithNoTests"
4849
},
4950
"files": [
@@ -75,6 +76,5 @@
7576
"@babel/plugin-transform-runtime",
7677
"core-js"
7778
]
78-
},
79-
"types": "./dist/index.d.cts"
79+
}
8080
}

0 commit comments

Comments
 (0)