Skip to content

Commit 67a1c9a

Browse files
committed
fix: exclude playwright.config.ts from npm package, ship only compiled .js
Playwright's config loader prefers .ts over .js when both exist in the same directory. Since Node refuses to type-strip .ts files inside node_modules/, shipping only playwright.config.js forces Playwright to load the compiled JS, resolving ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING.
1 parent 650ec9d commit 67a1c9a

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"scripts/",
1414
"docs/",
1515
"playwright.config.js",
16-
"playwright.config.ts",
1716
"tsconfig.json",
1817
"tsconfig.build.json",
1918
".env.example",

0 commit comments

Comments
 (0)