Skip to content

Commit

Permalink
Merge pull request #1594 from appwrite/feat-more-build-optimisations
Browse files Browse the repository at this point in the history
fix: avif & webp double optimisations
  • Loading branch information
loks0n authored Jan 3, 2025
2 parents 011da05 + a859dc5 commit 517475b
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 37 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
push: true
Expand Down
64 changes: 32 additions & 32 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/lib/components/Select.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@
duration: 150,
y: placement === 'top' ? 4 : -4
} as FlyParams;
console.log({ initialLabel, $selectedLabel });
</script>

<button
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export default defineConfig({
}
}),
ViteImageOptimizer({
exclude: ['**/*.avif', '**/*.webp'],
cache: true,
cacheLocation: '.cache'
}),
Expand Down

0 comments on commit 517475b

Please sign in to comment.