Implement progressive image loading in generateSite.js and enhance image serving with quality and width parameters. Added sharp dependency for image processing. Updated image display logic to improve user experience.

This commit is contained in:
2024-12-28 10:58:05 -05:00
parent ba39cb4af7
commit d575fd58e2
2 changed files with 66 additions and 7 deletions

View File

@@ -9,6 +9,7 @@
},
"dependencies": {
"axios": "^1.7.9",
"node-fetch": "^3.3.2"
"node-fetch": "^3.3.2",
"sharp": "^0.32.0"
}
}