Skip to content

Commit 26f5c54

Browse files
committed
chore: add shamefully-hoist options
1 parent 227496f commit 26f5c54

File tree

4 files changed

+53
-419
lines changed

4 files changed

+53
-419
lines changed

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
registry=http://registry.npmmirror.com/
1+
registry=http://registry.npmmirror.com/
2+
shamefully-hoist=true

packages/unplugin-tailwindcss-mangle/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ utwm.webpack()
8282

8383
## Notice
8484

85-
This plugin only transform those classes which name with `-` or `:`, like `w-32`, `before:h-[300px]`,`after:dark:via-[#0141ff]/40`. some classes like `flex`,`relative` will not be mangled.
85+
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.
8686

8787
because plugin will **traverse** all `html class attr` and `js StringLiteral` to find `utilities` generated by `tailwindcss`.
8888

0 commit comments

Comments
 (0)