Skip to content

Commit f539f21

Browse files
Version Packages
1 parent a968662 commit f539f21

File tree

5 files changed

+33
-15
lines changed

5 files changed

+33
-15
lines changed

.changeset/rare-lions-compare.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/core/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @tailwindcss-mangle/core
22

3+
## 5.1.0
4+
5+
### Minor Changes
6+
7+
- [`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.
8+
9+
**Features:**
10+
- Vue SFC handler: Parse and transform classes in template, script, and style sections using `@vue/compiler-sfc`
11+
- Svelte handler: Parse and transform classes in components with support for class directives using `svelte/compiler`
12+
- JSX/TSX support: Enable Babel `jsx` and `typescript` plugins for proper React component transformation
13+
- Proper AST traversal for accurate class name replacement in all framework files
14+
- Comprehensive test coverage for Vue, Svelte, and JSX/TSX transformations
15+
316
## 5.0.1
417

518
### Patch Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@tailwindcss-mangle/core",
33
"type": "module",
4-
"version": "5.0.1",
4+
"version": "5.1.0",
55
"description": "The core of tailwindcss-mangle",
66
"author": "ice breaker <[email protected]>",
77
"license": "MIT",

packages/unplugin-tailwindcss-mangle/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# unplugin-tailwindcss-mangle
22

3+
## 5.1.0
4+
5+
### Minor Changes
6+
7+
- [`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.
8+
9+
**Features:**
10+
- Vue SFC handler: Parse and transform classes in template, script, and style sections using `@vue/compiler-sfc`
11+
- Svelte handler: Parse and transform classes in components with support for class directives using `svelte/compiler`
12+
- JSX/TSX support: Enable Babel `jsx` and `typescript` plugins for proper React component transformation
13+
- Proper AST traversal for accurate class name replacement in all framework files
14+
- Comprehensive test coverage for Vue, Svelte, and JSX/TSX transformations
15+
16+
### Patch Changes
17+
18+
- Updated dependencies [[`5ecbf02`](https://github.com/sonofmagic/tailwindcss-mangle/commit/5ecbf02acdcbd1e727a375c880df4805f4082b7b)]:
19+
- @tailwindcss-mangle/core@5.1.0
20+
321
## 5.0.0
422

523
### Major Changes

packages/unplugin-tailwindcss-mangle/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "unplugin-tailwindcss-mangle",
33
"type": "module",
4-
"version": "5.0.0",
4+
"version": "5.1.0",
55
"description": "mangle tailwindcss utilities class plugin. support vite and webpack!",
66
"author": "ice breaker <[email protected]>",
77
"license": "MIT",

0 commit comments

Comments
 (0)