Skip to content

Prewind v2

Choose a tag to compare

@art70x art70x released this 15 Feb 06:23

Prewind v2.0.0

Prewind 2.0.0 is a major upgrade from v1, introducing new features, performance enhancements, and a better developer experience.

What’s New

  • Browser Usage Added – Prewind can now run directly in the browser for instant shorthand expansion.
  • Fixed Common Errors – Improved stability with fixes for previously reported parsing and variant expansion issues.
  • Upgraded CLI UX – The command-line interface is faster, more intuitive, and easier to use.
  • Optimized Logic – Core processing logic has been streamlined for improved performance and reliability.
  • Build System Migration – Moved from tsup to tsdown for more efficient TypeScript builds.
  • Modern Dev Tools – Added eslint-plugin-unicorn and vitest for better code quality and testing.
  • Enhanced CLI UX & Performance – Replaced yoctocolors, yocto-spinner, and cli-spinners with @clack/prompts for a smoother, faster command-line experience.

Package Details

  • Name: prewind
  • Version: 2.0.0
  • Description: Expands Tailwind shorthand (e.g., hover(px-4 py-2)) into full variant classes (hover:px-4 hover:py-2).

Deprecation of v1

Prewind v1 (@art70x/prewind) is officially deprecated. Users are encouraged to migrate to v2 to benefit from all new features, bug fixes, and browser support.


Full Changelog

View the complete commit history and all changes [here](https://github.com/art70x/prewind/commits/v2.0.0).