mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 19:22:52 +02:00
feat: performance optimizations and ui improvements (#26)
* test: remove astro-compress * test: remove astro-compress * perf: add astro-compress, optimize resource preloading * perf: moving photoswipe styles to head with non-blocking preload strategy * test: disable astro-compress * test: enable astro-compress * fix: typescript hints * chore: adjust toc style and gsap animation * style: optimize gsap animation logic, adjust toc style * chore: adjust toc style * fix: photoswipe transition position offset caused by scrollbar-gutter
This commit is contained in:
parent
054aa85509
commit
47e1df9b3d
10 changed files with 64 additions and 69 deletions
|
@ -60,10 +60,10 @@ export default defineConfig({
|
|||
sitemap(),
|
||||
robotsTxt(),
|
||||
Compress({
|
||||
CSS: false,
|
||||
HTML: true, // Enable HTML compression only to remove comments
|
||||
CSS: true,
|
||||
HTML: true,
|
||||
Image: false,
|
||||
JavaScript: false,
|
||||
JavaScript: true,
|
||||
SVG: false,
|
||||
}),
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue