Skip to content

Commit 083cd89

Browse files
committed
test(examples): use module: Node16 for CJS tests where possible
1 parent 54b374a commit 083cd89

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

examples/js-with-babel/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"module": "CommonJS",
3+
"module": "Node16",
44
"target": "ESNext",
55
"allowJs": true,
66
"types": ["jest"],

examples/js-with-ts/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"module": "CommonJS",
3+
"module": "Node16",
44
"target": "ESNext",
55
"allowJs": true,
66
"skipLibCheck": true,

examples/monorepo-app/tsconfig.base.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"importHelpers": true,
1313
"skipLibCheck": true,
1414
"target": "ESNext",
15-
"module": "CommonJS",
15+
"module": "Node16",
1616
"lib": ["ESNext", "dom"],
1717
"types": ["jest"]
1818
}

examples/react-app/tsconfig.spec.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"extends": "./tsconfig.json",
33
"compilerOptions": {
44
"module": "CommonJS",
5-
"target": "ESNext",
65
"moduleResolution": "Node10",
6+
"target": "ESNext",
77
"skipLibCheck": true,
88
"types": ["jest"]
99
}

examples/ts-only/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"module": "CommonJS",
3+
"module": "Node16",
44
"target": "ESNext",
55
"skipLibCheck": true,
66
"types": ["jest"]

0 commit comments

Comments
 (0)