Skip to content

Commit 2bcabb5

Browse files
committed
feat: rewrite jsHandler
1 parent 117d7ad commit 2bcabb5

File tree

15 files changed

+157
-134
lines changed

15 files changed

+157
-134
lines changed

apps/solid-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"tailwindcss-patch": "workspace:*",
1919
"typescript": "^5.0.4",
2020
"unplugin-tailwindcss-mangle": "workspace:*",
21-
"vite": "^4.3.2",
21+
"vite": "^4.3.3",
2222
"vite-plugin-solid": "^2.5.0"
2323
},
2424
"dependencies": {

apps/vite-lit/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
"tailwindcss-patch": "workspace:*",
2828
"typescript": "^5.0.4",
2929
"unplugin-tailwindcss-mangle": "workspace:*",
30-
"vite": "^4.3.2"
30+
"vite": "^4.3.3"
3131
}
3232
}

apps/vite-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"tailwindcss-patch": "workspace:*",
2424
"typescript": "^5.0.4",
2525
"unplugin-tailwindcss-mangle": "workspace:*",
26-
"vite": "^4.3.2"
26+
"vite": "^4.3.3"
2727
}
2828
}

apps/vite-svelte/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"tslib": "^2.5.0",
2222
"typescript": "^5.0.4",
2323
"unplugin-tailwindcss-mangle": "workspace:*",
24-
"vite": "^4.3.2"
24+
"vite": "^4.3.3"
2525
}
2626
}

apps/vite-vanilla/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"tailwindcss-patch": "workspace:*",
1717
"typescript": "^5.0.4",
1818
"unplugin-tailwindcss-mangle": "workspace:*",
19-
"vite": "^4.3.2"
19+
"vite": "^4.3.3"
2020
}
2121
}

apps/vite-vue/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"tailwindcss-patch": "workspace:*",
2121
"typescript": "^5.0.4",
2222
"unplugin-tailwindcss-mangle": "workspace:*",
23-
"vite": "^4.3.2",
24-
"vue-tsc": "^1.4.4"
23+
"vite": "^4.3.3",
24+
"vue-tsc": "^1.6.0"
2525
}
2626
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
},
1919
"devDependencies": {
2020
"@icebreakers/eslint-config-ts": "^1.0.4",
21-
"@icebreakers/rollup": "^0.3.0",
21+
"@icebreakers/rollup": "^0.4.0",
2222
"@icebreakers/tsconfig": "^0.0.6",
2323
"@tsconfig/recommended": "^1.0.2",
2424
"@types/jest": "^29.5.1",

packages/tailwindcss-patch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"devDependencies": {
3737
"@types/babel__generator": "^7.6.4",
38-
"@types/babel__traverse": "^7.18.4",
38+
"@types/babel__traverse": "^7.18.5",
3939
"@types/resolve": "^1.20.2",
4040
"@types/semver": "^7.3.13",
4141
"defu": "^6.1.2",

packages/unplugin-tailwindcss-mangle/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,11 @@ export interface IClassGeneratorOptions {
116116

117117
### include / exclude
118118

119-
type: glob string
119+
Type: `string | string[]`
120120

121-
allow you to control the mangle range of bundles.
121+
Default: `undefined`
122+
123+
`glob string` allow you to control the mangle range of bundles.
122124

123125
## Notice
124126

packages/unplugin-tailwindcss-mangle/package.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,7 @@
6969
"author": "SonOfMagic <[email protected]>",
7070
"license": "MIT",
7171
"dependencies": {
72-
"@babel/generator": "^7.21.4",
73-
"@babel/parser": "^7.21.4",
74-
"@babel/traverse": "^7.21.4",
72+
"@babel/core": "^7.21.4",
7573
"@babel/types": "^7.21.4",
7674
"micromatch": "^4.0.5",
7775
"parse5": "^7.1.2",
@@ -87,16 +85,15 @@
8785
},
8886
"devDependencies": {
8987
"@parse5/tools": "^0.1.0",
90-
"@types/babel__generator": "^7.6.4",
91-
"@types/babel__traverse": "^7.18.4",
88+
"@types/babel__core": "^7.20.0",
9289
"@types/escodegen": "^0.0.7",
9390
"@types/micromatch": "^4.0.2",
9491
"@types/semver": "^7.3.13",
9592
"pkg-types": "^1.0.2",
9693
"tailwindcss": "^3.3.2",
9794
"tslib": "^2.5.0",
98-
"vite": "^4.3.2",
99-
"webpack": "^5.80.0"
95+
"vite": "^4.3.3",
96+
"webpack": "^5.81.0"
10097
},
10198
"homepage": "https://github.com/sonofmagic/tailwindcss-mangle",
10299
"repository": {

0 commit comments

Comments
 (0)