Skip to content

Commit

Permalink
build: Switch to lightningcss-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
dhardtke committed Oct 17, 2024
1 parent 264aa83 commit 17a63bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ jobs:
- name: Setup build tools
run: |
sudo apt-get install -y brotli gzip nodejs
npm install -g esbuild @parcel/css-cli sass
npm install -g esbuild lightningcss-cli sass
echo sass version
sass --version
echo esbuild version
esbuild --version
# echo parcel-css version
# parcel-css --version
# echo lightningcss version
# lightningcss --version
echo gzip version
gzip --version
echo brotli version
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"insert-example-data": "deno run --unstable --allow-all dev/insert-example-data.ts",
"lint": "deno lint --unstable ./dev ./src ./tests",
"minify:assets": "deno task minify:assets:js && deno task minify:assets:css",
"minify:assets:css": "parcel-css --minify --nesting --bundle --targets '>= 0.25%' out/assets/index.css -o out/assets/index.min.css",
"minify:assets:css": "lightningcss --minify --nesting --bundle --targets '>= 0.25%' out/assets/index.css -o out/assets/index.min.css",
"minify:assets:js": "esbuild --bundle --format=esm --minify out/assets/index.js --outfile=out/assets/index.min.js",
"minify:server": "esbuild --bundle --format=esm --minify out/server.js --outfile=out/server.min.js",
"run:debug": "deno run --watch=deno.lock,deno.json --check --allow-all --unstable --config=deno.json src/main.ts",
Expand Down

1 comment on commit 17a63bd

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on 17a63bd Oct 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Your deployment uses decorators. The default for 'experimentalDecorators' will be changing to 'false'. In the meantime, please explicitly set the 'experimentalDecorators' compiler option. For more information, see https://deno.com/deploy/changelog#es-decorators-are-enabled-on-deno-deploy-replacing-experimental-ts-decorators

Please sign in to comment.