Skip to content

Commit

Permalink
Try fixing lightningcss
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Sep 25, 2024
1 parent f347c10 commit 1370810
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ function bun_build {
# if the file extension is .css
if [[ $FILE == *".css" ]]; then
echo "🚀 lightningcss"
bunx lightningcss --error-recovery --minify --bundle --targets '>= 0.25%' bun/$FILE -o output/$FILE
bunx lightningcss-cli --minify --bundle --targets '>= 0.25%' bun/$FILE -o output/$FILE
# check result
EXIT_CODE=$?
if [ $EXIT_CODE -ne 0 ]; then
echo "🚨 lightningcss failed"
echo "🚨 lightningcss failed with $EXIT_CODE"
exit $EXIT_CODE
fi
else
Expand Down
4 changes: 2 additions & 2 deletions bun/uts-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ nav#toc li.active {

.todo {
display: block;
/* light sepia */ background-color: rgba(255, 255, 0, 0.1);
border: 1px /* dark sepia */ solid rgb(129, 129, 24);
background-color: rgba(255, 255, 0, 0.1); /* light sepia */
border: 1px solid rgb(129, 129, 24); /* dark sepia */
border-radius: 5px;
padding: 1em;
margin: 1em 0;
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"@penrose/roger": "^3.2.0",
"@types/bun": "^1.1.10",
"elysia": "^1.1.16",
"lightningcss-cli": "^1.26.0",
"lightningcss-cli": "^1.27.0",
"wasm-pack": "^0.13.0"
},
"trustedDependencies": [
"@biomejs/biome"
]
}
}

0 comments on commit 1370810

Please sign in to comment.