Skip to content

Commit 461defb

Browse files
committed
chore(flexbox): Fix bad package.json exports
1 parent 391f753 commit 461defb

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.changeset/brown-knives-stand.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): Fix bad exports in package.json

packages/plugin-flexbox/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"url": "https://github.com/plexinc/react-lightning/issues/new"
1313
},
1414
"type": "module",
15-
"main": "./dist/index.cjs",
16-
"module": "./dist/index.js",
15+
"main": "./dist/cjs/index.js",
16+
"module": "./dist/es/index.production.js",
1717
"exports": {
1818
".": "./src/index.ts",
1919
"./package.json": "./package.json",
@@ -24,8 +24,8 @@
2424
"access": "public",
2525
"exports": {
2626
".": {
27-
"import": "./dist/index.js",
28-
"require": "./dist/index.cjs"
27+
"import": "./dist/es/index.production.js",
28+
"require": "./dist/cjs/index.js"
2929
},
3030
"./package.json": "./package.json",
3131
"./jsx": "./dist/types/types/jsx.d.ts"

0 commit comments

Comments
 (0)