Skip to content

Commit 5f630d8

Browse files
Fix @headlessui/tailwindcss exports map
1 parent 5eb3b12 commit 5f630d8

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

packages/@headlessui-tailwindcss/CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10-
- Nothing yet!
10+
### Fixed
11+
12+
- Ensure the npm package `export` map is correct ([#3539](https://github.com/tailwindlabs/headlessui/pull/3539))
1113

1214
## [0.2.1] - 2024-05-29
1315

packages/@headlessui-tailwindcss/package.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212
"dist"
1313
],
1414
"exports": {
15-
"types": {
16-
"import": "./dist/index.d.ts",
17-
"require": "./dist/index.d.cts"
18-
},
19-
"import": "./dist/headlessui.esm.js",
20-
"require": "./dist/index.cjs"
15+
".": {
16+
"types": "./dist/index.d.ts",
17+
"require": "./dist/index.cjs",
18+
"import": "./dist/headlessui.esm.js"
19+
}
2120
},
2221
"sideEffects": false,
2322
"engines": {

0 commit comments

Comments
 (0)