Commit 8c7fb84
bail out of the applyComplexClasses when it is not needed
There is no need in re-compiling tailwind or building expensive lookupt
tables when it turns out that we don't even need it.
We have a small overhead by walking the tree to check if `@apply`
exists. However this outweighs the slowness of re-generating tailwind +
expensive lookup tables.1 parent 4b15b90 commit 8c7fb84
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
239 | 244 | | |
240 | 245 | | |
241 | 246 | | |
| |||
0 commit comments