Files
headlessui/packages/@headlessui-tailwindcss/CHANGELOG.md
T
Janeene Beeforth 3905be67a9 Fix esm compatibility for @headlessui/tailwindcss plugin package (#3051)
* Set @headlessui/tailwindcss module type

The distributed tailwindcss plugin package uses `.js` for esm files, and `.cjs` for commonjs files. This corresponds to `"type": "module"` in the package.json file.

One build script `fix-types.js` was a commonjs script which was breaking this module file naming pattern. Renamed the script to `fix-types.cjs` so that we could then standardise the module type for @headlessui/tailwindcss package as a whole.

* Fix esm import of tailwindcss/plugin

ESM imports need to specify the filename extension when importing individual files.

* update changelog

---------

Co-authored-by: Robin Malfait <malfait.robin@gmail.com>
2024-05-29 16:17:06 +02:00

2.0 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

Fixed

  • Improve CJS types (#2880)
  • Improve ESM types (#3051)

0.2.0 - 2023-07-27

Added

  • Add ui-focus-visible variant to Tailwind plugin (#2347)
  • Add ui-not-focus-visible variant to Tailwind plugin (#2618)

0.1.3 - 2023-04-12

Fixed

  • Add ESM and types paths to package.json for Tailwind CSS plugin (#2382)

0.1.2 - 2022-12-06

Fixed

  • Move tailwindcss to devDependencies (#2040)

0.1.1 - 2022-09-06

Fixed

  • Fix bracket order of not variants (#1621)

0.1.0 - 2022-05-24

Added

  • Add @headlessui/tailwindcss plugin (#1487)