diff --git a/packages/element-web-playwright-common/package.json b/packages/element-web-playwright-common/package.json index 50e38f11cd..d4b0230d63 100644 --- a/packages/element-web-playwright-common/package.json +++ b/packages/element-web-playwright-common/package.json @@ -12,7 +12,16 @@ "engines": { "node": ">=20.0.0" }, - "main": "lib/index.js", + "exports": { + ".": { + "import": "./lib/index.js", + "types": "./lib/index.d.ts" + }, + "./stale-screenshots-reporter": { + "import": "./lib/stale-screenshots-reporter.js", + "types": "./lib/stale-screenshots-reporter.d.ts" + } + }, "bin": { "playwright-screenshots": "playwright-screenshots.sh" },