Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .changeset/rare-lions-compare.md

This file was deleted.

13 changes: 13 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @tailwindcss-mangle/core

## 5.1.0

### Minor Changes

- [`5ecbf02`](https://github.com/sonofmagic/tailwindcss-mangle/commit/5ecbf02acdcbd1e727a375c880df4805f4082b7b) Thanks [@sonofmagic](https://github.com/sonofmagic)! - Add AST-based transformation support for Vue SFC, Svelte components, and JSX/TSX using framework-specific compilers. This provides more precise class name mangling for framework-specific files.

**Features:**
- Vue SFC handler: Parse and transform classes in template, script, and style sections using `@vue/compiler-sfc`
- Svelte handler: Parse and transform classes in components with support for class directives using `svelte/compiler`
- JSX/TSX support: Enable Babel `jsx` and `typescript` plugins for proper React component transformation
- Proper AST traversal for accurate class name replacement in all framework files
- Comprehensive test coverage for Vue, Svelte, and JSX/TSX transformations

## 5.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tailwindcss-mangle/core",
"type": "module",
"version": "5.0.1",
"version": "5.1.0",
"description": "The core of tailwindcss-mangle",
"author": "ice breaker <1324318532@qq.com>",
"license": "MIT",
Expand Down
18 changes: 18 additions & 0 deletions packages/unplugin-tailwindcss-mangle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# unplugin-tailwindcss-mangle

## 5.1.0

### Minor Changes

- [`5ecbf02`](https://github.com/sonofmagic/tailwindcss-mangle/commit/5ecbf02acdcbd1e727a375c880df4805f4082b7b) Thanks [@sonofmagic](https://github.com/sonofmagic)! - Add AST-based transformation support for Vue SFC, Svelte components, and JSX/TSX using framework-specific compilers. This provides more precise class name mangling for framework-specific files.

**Features:**
- Vue SFC handler: Parse and transform classes in template, script, and style sections using `@vue/compiler-sfc`
- Svelte handler: Parse and transform classes in components with support for class directives using `svelte/compiler`
- JSX/TSX support: Enable Babel `jsx` and `typescript` plugins for proper React component transformation
- Proper AST traversal for accurate class name replacement in all framework files
- Comprehensive test coverage for Vue, Svelte, and JSX/TSX transformations

### Patch Changes

- Updated dependencies [[`5ecbf02`](https://github.com/sonofmagic/tailwindcss-mangle/commit/5ecbf02acdcbd1e727a375c880df4805f4082b7b)]:
- @tailwindcss-mangle/core@5.1.0

## 5.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/unplugin-tailwindcss-mangle/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "unplugin-tailwindcss-mangle",
"type": "module",
"version": "5.0.0",
"version": "5.1.0",
"description": "mangle tailwindcss utilities class plugin. support vite and webpack!",
"author": "ice breaker <1324318532@qq.com>",
"license": "MIT",
Expand Down