diff --git a/package.json b/package.json
index 1ebd6e847..f4fb679dc 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "htmlhint",
- "version": "1.8.1",
+ "version": "1.9.0",
"description": "The Static Code Analysis Tool for your HTML",
"keywords": [
"html",
@@ -24,6 +24,13 @@
"license": "MIT",
"main": "dist/htmlhint.js",
"module": "dist/core/core.js",
+ "exports": {
+ ".": {
+ "import": "./dist/core/core.js",
+ "require": "./dist/htmlhint.js"
+ },
+ "./package.json": "./package.json"
+ },
"bin": {
"htmlhint": "bin/htmlhint"
},
diff --git a/website/src/content/docs/changelog.mdx b/website/src/content/docs/changelog.mdx
index c970dbd87..5f33f74f4 100644
--- a/website/src/content/docs/changelog.mdx
+++ b/website/src/content/docs/changelog.mdx
@@ -5,6 +5,10 @@ description: The release notes for HTMLHint, see what's changed with each new ve
import { Badge } from '@astrojs/starlight/components'
+## 1.9.0 _(2026-02-09)_
+
+- Add `exports` field to `package.json`
+
## 1.8.1 _(2026-02-06)_
- Improve [`attr-lowercase`](https://htmlhint.com/rules/attr-lowercase/) rule to handle SVG attributes
diff --git a/website/src/content/docs/index.mdx b/website/src/content/docs/index.mdx
index ca3f0acaa..4a45c3da6 100644
--- a/website/src/content/docs/index.mdx
+++ b/website/src/content/docs/index.mdx
@@ -15,7 +15,7 @@ hero:
variant: minimal
banner:
content: |
- v1.8.1 is now available! Check the changelog to see what's new.
+ v1.9.0 is now available! Check the changelog to see what's new.
tableOfContents: false
lastUpdated: false
editUrl: false