Commit 31d9f9b
committed
chore: Add type: "module" to package.json
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.1 parent 422dc28 commit 31d9f9b
File tree
6 files changed
+1
-3
lines changed- test/webdriverio
- test
6 files changed
+1
-3
lines changedFile renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
File renamed without changes.
This file was deleted.
File renamed without changes.
File renamed without changes.
0 commit comments