Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: add fallback "default" key to "." exports object (#16350)

Jeremy Daleyee02afdd9b75
diff --git a/packages/playwright-test/package.json b/packages/playwright-test/package.json
index 2f5271f204..0ff6e486c9 100644
--- a/packages/playwright-test/package.json
+++ b/packages/playwright-test/package.json
@@ -12,7 +12,8 @@
".": {
"types": "./index.d.ts",
"import": "./index.mjs",
- "require": "./index.js"
+ "require": "./index.js",
+ "default": "./index.js"
},
"./cli": "./cli.js",
"./package.json": "./package.json",