Skip to content

Commit df7b87c

Browse files
committed
Fix: Change to nodenext for better moduleResolution
1 parent ce8bd83 commit df7b87c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/helpers/readCypressConfigUtil.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function generateTscCommandAndTempTsConfig(bsConfig, bstack_node_modules_path, c
2525
"outDir": `${path.basename(complied_js_dir)}`, // Add ./ prefix for consistency
2626
"listEmittedFiles": true,
2727
"allowSyntheticDefaultImports": true,
28-
"module": "commonjs",
28+
"module": "nodenext",
2929
"declaration": false,
3030
"baseUrl": ".", // Default fallback baseUrl
3131
"skipLibCheck": true

0 commit comments

Comments
 (0)