Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tracker/npm_package/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

- Fix issue with package resolution by adding "exports" field

## [0.4.5] - 2026-05-05

- Use ResizeObserver over polling for getting scroll metrics
Expand Down
14 changes: 12 additions & 2 deletions tracker/npm_package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"scripts": {
"test": "echo \"Error: Testing done in the tracker folder\" && exit 1"
},
"repository": "https://github.com/plausible/plausible",
"repository": {
"type": "git",
"url": "git+https://github.com/plausible/analytics.git",
"directory": "tracker/npm_package"
},
"keywords": [
"web-analytics",
"website-analytics",
Expand All @@ -16,5 +20,11 @@
"homepage": "https://plausible.io",
"type": "module",
"module": "./plausible.js",
"types": "./plausible.d.ts"
"types": "./plausible.d.ts",
"exports": {
".": {
"types": "./plausible.d.ts",
"default": "./plausible.js"
}
}
}
Loading
Loading