Tweak CSS bundling to dedupe more styles (#34371)
* Tweak CSS bundling to dedupe more styles Previously all of compound-web & compound-design-tokens were duplicated amongst all the themes rather than just being in `bundle.css`. * Fix highlight.js & github-markdown-css dark/light * Fix highlight.js & github-markdown-css dark/light * Iterate
This commit is contained in:
@@ -8,7 +8,7 @@ cd `dirname $0`
|
||||
# we used to have exclude /themes from the find at this point.
|
||||
# as themes are no longer a spurious subdirectory of css/, we don't
|
||||
# need it any more.
|
||||
find . -iname _\*.pcss | fgrep -v _components.pcss | fgrep -v _compound.pcss | LC_ALL=C sort |
|
||||
find . -iname _\*.pcss | fgrep -v _components.pcss | fgrep -v _index.pcss | LC_ALL=C sort |
|
||||
while read i; do
|
||||
echo "@import \"$i\";"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user