chore: replace rehype-plugin-image-native-lazy-loading with our own

`rehype-plugin-image-native-lazy-loading` is no-longer maintained.
https://github.com/potato4d/rehype-plugin-image-native-lazy-loading

I haven't seen the source code of `rehype-plugin-image-native-lazy-loading` to implement this.
This commit is contained in:
Jumpei Ogawa
2024-08-25 09:31:58 +09:00
parent 06c39796d1
commit 35b7573a4e
2 changed files with 14 additions and 4 deletions

View File

@@ -53,11 +53,11 @@
"prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1",
"reading-time": "^1.5.0",
"rehype-plugin-image-native-lazy-loading": "^1.2.0",
"sharp": "0.33.5",
"tailwind-merge": "^2.5.2",
"tailwindcss": "^3.4.10",
"typescript": "^5.5.4",
"typescript-eslint": "^8.2.0"
"typescript-eslint": "^8.2.0",
"unist-util-visit": "^5.0.0"
}
}