File tree Expand file tree Collapse file tree 9 files changed +458
-489
lines changed
unplugin-tailwindcss-mangle Expand file tree Collapse file tree 9 files changed +458
-489
lines changed Original file line number Diff line number Diff line change 39
39
"@commitlint/prompt-cli" : " ^19.7.1" ,
40
40
"@commitlint/types" : " ^19.5.0" ,
41
41
"@icebreakers/eslint-config" : " ^1.0.0" ,
42
- "@icebreakers/monorepo" : " ^0.7.1 " ,
42
+ "@icebreakers/monorepo" : " ^0.7.2 " ,
43
43
"@icebreakers/stylelint-config" : " ^1.0.0" ,
44
44
"@rollup/pluginutils" : " ^5.1.4" ,
45
45
"@tailwindcss-mangle/core" : " workspace:*" ,
89
89
"only-allow" : " ^1.2.1" ,
90
90
"pathe" : " ^2.0.2" ,
91
91
"pkg-types" : " ^1.3.1" ,
92
- "postcss" : " ^8.5.1 " ,
92
+ "postcss" : " ^8.5.2 " ,
93
93
"postcss-loader" : " ^8.1.1" ,
94
94
"postcss7" : " npm:postcss@7" ,
95
95
"prettier" : " ^3.5.0" ,
102
102
"tslib" : " ^2.8.1" ,
103
103
"tsup" : " ^8.3.6" ,
104
104
"tsx" : " ^4.19.2" ,
105
- "turbo" : " ^2.4.0 " ,
105
+ "turbo" : " ^2.4.1 " ,
106
106
"typescript" : " ^5.7.3" ,
107
107
"unbuild" : " ^3.3.1" ,
108
- "unplugin" : " ^2.1.2 " ,
108
+ "unplugin" : " ^2.2.0 " ,
109
109
"unplugin-tailwindcss-mangle" : " workspace:*" ,
110
110
"vite" : " ^6.1.0" ,
111
111
"vite-tsconfig-paths" : " ^5.1.4" ,
Original file line number Diff line number Diff line change 66
66
},
67
67
"dependencies" : {
68
68
"@tailwindcss-mangle/shared" : " workspace:^" ,
69
- "c12" : " ^2.0.1 " ,
69
+ "c12" : " ^2.0.2 " ,
70
70
"fs-extra" : " ^11.3.0" ,
71
71
"is-css-request" : " ^1.0.1" ,
72
72
"pathe" : " ^2.0.2"
Original file line number Diff line number Diff line change 74
74
"htmlparser2" : " 10.0.0" ,
75
75
"magic-string" : " ^0.30.17" ,
76
76
"pathe" : " ^2.0.2" ,
77
- "postcss" : " ^8.5.1 " ,
77
+ "postcss" : " ^8.5.2 " ,
78
78
"postcss-selector-parser" : " ^7.1.0"
79
79
}
80
80
}
Original file line number Diff line number Diff line change 76
76
"@babel/traverse" : " ^7.26.8" ,
77
77
"@babel/types" : " ^7.26.8" ,
78
78
"@tailwindcss-mangle/config" : " workspace:^" ,
79
- "@tailwindcss/node" : " ^4.0.5 " ,
80
- "@tailwindcss/oxide" : " ^4.0.5 " ,
79
+ "@tailwindcss/node" : " ^4.0.6 " ,
80
+ "@tailwindcss/oxide" : " ^4.0.6 " ,
81
81
"cac" : " ^6.7.14" ,
82
82
"consola" : " ^3.4.0" ,
83
83
"fs-extra" : " ^11.3.0" ,
84
84
"jiti" : " ^2.4.2" ,
85
85
"lilconfig" : " ^3.1.3" ,
86
86
"pathe" : " ^2.0.2" ,
87
- "postcss" : " ^8.5.1 " ,
87
+ "postcss" : " ^8.5.2 " ,
88
88
"semver" : " ^7.7.1"
89
89
},
90
90
"devDependencies" : {
91
- "@tailwindcss/postcss" : " ^4.0.5 " ,
92
- "@tailwindcss/vite" : " ^4.0.5 " ,
91
+ "@tailwindcss/postcss" : " ^4.0.6 " ,
92
+ "@tailwindcss/vite" : " ^4.0.6 " ,
93
93
"tailwindcss" : " ^4" ,
94
94
"tailwindcss-3" : " npm:tailwindcss@^3" ,
95
95
"tailwindcss-4" : " npm:tailwindcss@^4"
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import { getPatchOptions } from '../defaults'
8
8
import logger from '../logger'
9
9
import { isObject } from '../utils'
10
10
import { CacheManager , getCacheOptions } from './cache'
11
+ import { extractValidCandidates } from './candidates'
11
12
import { processTailwindcss } from './postcss'
12
13
import { internalPatch } from './runtime'
13
14
@@ -141,7 +142,6 @@ export class TailwindcssPatcher {
141
142
removeUniversalSelector,
142
143
} )
143
144
if ( filename ) {
144
- await fs . ensureDir ( path . dirname ( filename ) )
145
145
const classList = [ ...set ]
146
146
await fs . outputJSON ( filename , classList , {
147
147
spaces : loose ? 2 : undefined ,
@@ -150,4 +150,6 @@ export class TailwindcssPatcher {
150
150
}
151
151
}
152
152
}
153
+
154
+ extractValidCandidates = extractValidCandidates
153
155
}
Original file line number Diff line number Diff line change 77
77
"@tailwindcss-mangle/shared" : " workspace:^" ,
78
78
"is-css-request" : " ^1.0.1" ,
79
79
"magic-string" : " ^0.30.17" ,
80
- "unplugin" : " ^2.1.2 "
80
+ "unplugin" : " ^2.2.0 "
81
81
},
82
82
"publishConfig" : {
83
83
"access" : " public" ,
You can’t perform that action at this time.
0 commit comments