Releases: ksoichiro/rehype-img-size
Releases · ksoichiro/rehype-img-size
v1.0.1
v1.0.0
Pull requests
- Upgrade major deps, migrate package to ESM (#5)
- Support both ESM and CJS (#7)
- Added TS typings (#8)
- Relative path changes (#9)
- Keep previous usage, fix package config, and add tests to confirm examples work (#10)
Important notes
- This package is also provided as ES module.
- For nuxt/content users
- No actions required to update for now.
- For API users
- It still supports CommonJS for now, but other unified/remark/rehype packages only supports ES module in the recent versions, so it is recommended for you to migrate your project to ES module.
See this guide for details: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
- It still supports CommonJS for now, but other unified/remark/rehype packages only supports ES module in the recent versions, so it is recommended for you to migrate your project to ES module.
- For nuxt/content users