You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// default 'tw-',for example: tw-a,tw-b, you can set any you want, like '','ice-'
127
-
classPrefix?: string
128
-
}
129
-
```
130
-
131
-
### include / exclude
132
-
133
-
Type: `string | string[]`
134
-
135
-
Default: `undefined`
136
-
137
-
`glob string` allow you to control the mangle range of bundles.
113
+
[types.ts]('./src/types.ts')
138
114
139
115
## Notice
140
116
117
+
By default, only the build will take effect. Due to some restrictions, it cannot take effect in the development mode.
118
+
141
119
This plugin only transform those classes which name contain `-` or `:`, like `w-32`, `before:h-[300px]`,`after:dark:via-[#0141ff]/40`. some classes like `flex`,`relative` will not be mangled.
142
120
143
121
because plugin will **traverse** all `html class attr` and `js StringLiteral` to find `utilities` generated by `tailwindcss`.
0 commit comments