Skip to content

Conversation

@cpcallen
Copy link
Collaborator

This means that .js files will by default be interpreted as ESM rather than CJS—which is correct, since almost all our source files are in fact ES modules using import.

This allows removal of test/webdriverio/test/package.json, which was preventing npm scripts (e.g. npm test) from working properly in that directory.

A few config files that do in fact use require() are renamed to .cjs to ensure they are correctly interpreted.

This means that .js files will by default be interpreted as ESM
rather than CJS—which is correct, since almost all our source files
are in fact ES modules using import.

This allows removal of test/webdriverio/test/package.json, which
was preventing npm scripts (e.g. "npm test") from working properly
in that directory.

A few config files that do in fact use require() are renamed to
.cjs to ensure they are correctly interpreted.
@cpcallen cpcallen requested a review from a team as a code owner June 19, 2025 10:38
@cpcallen cpcallen requested review from BenHenning and maribethb and removed request for a team and BenHenning June 19, 2025 10:38
Copy link
Collaborator

@maribethb maribethb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, you mentioned you wanted to check the packaged output to make sure that was correct still, were you able to do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants