Skip to content

Commit c3cfcf1

Browse files
committed
REF : Improved performance of web assets loading using webp format
1 parent f7a4854 commit c3cfcf1

File tree

14 files changed

+713
-18
lines changed

14 files changed

+713
-18
lines changed

package-lock.json

Lines changed: 668 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "hafijulali.github.io",
33
"private": true,
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",
8+
"prebuild": "node scripts/webp.js",
89
"build": "tsc -b && vite build",
910
"lint": "eslint .",
1011
"preview": "vite preview",
@@ -29,8 +30,11 @@
2930
"eslint": "^9.17.0",
3031
"eslint-plugin-react-hooks": "^5.0.0",
3132
"eslint-plugin-react-refresh": "^0.4.16",
33+
"fs-extra": "^11.3.1",
3234
"gh-pages": "^6.3.0",
3335
"globals": "^15.14.0",
36+
"globby": "^14.1.0",
37+
"sharp": "^0.34.3",
3438
"typescript": "~5.6.2",
3539
"typescript-eslint": "^8.18.2",
3640
"vite": "^6.0.5"
1.31 KB
Loading

public/assets/apps.webp

19.3 KB
Loading

public/assets/bg-texture.webp

134 Bytes
Loading

public/assets/favicon.webp

210 Bytes
Loading

public/assets/godevops.webp

14.3 KB
Loading
112 KB
Loading

public/assets/open-contacts.webp

886 Bytes
Loading

public/assets/open-todo.webp

19.6 KB
Loading

0 commit comments

Comments
 (0)