Skip to content

Commit

Permalink
fix(tsconfig): set "module" to "ESNext" for web/tsconfig.json (redwoo…
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Aug 24, 2024
1 parent 30c1956 commit b0dcd83
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions __fixtures__/fragment-test-project/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"noEmit": true,
"allowJs": true,
"esModuleInterop": true,
"target": "esnext",
"module": "esnext",
"moduleResolution": "node",
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"baseUrl": "./",
"skipLibCheck": false,
"rootDirs": [
Expand Down
6 changes: 3 additions & 3 deletions __fixtures__/test-project-rsa/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"noEmit": true,
"allowJs": true,
"esModuleInterop": true,
"target": "esnext",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"skipLibCheck": false,
"rootDirs": [
"./src",
Expand Down
6 changes: 3 additions & 3 deletions __fixtures__/test-project-rsc-kitchen-sink/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"noEmit": true,
"allowJs": true,
"esModuleInterop": true,
"target": "esnext",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"skipLibCheck": false,
"rootDirs": [
"./src",
Expand Down
2 changes: 1 addition & 1 deletion __fixtures__/test-project/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"allowJs": true,
"esModuleInterop": true,
"target": "ES2022",
"module": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"skipLibCheck": false,
"rootDirs": [
Expand Down
2 changes: 1 addition & 1 deletion packages/create-redwood-app/templates/js/web/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"noEmit": true,
"esModuleInterop": true,
"target": "ES2022",
"module": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"skipLibCheck": false,
"rootDirs": [
Expand Down
2 changes: 1 addition & 1 deletion packages/create-redwood-app/templates/ts/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"allowJs": true,
"esModuleInterop": true,
"target": "ES2022",
"module": "ES2022",
"module": "ESNext",
"moduleResolution": "Bundler",
"skipLibCheck": false,
"rootDirs": [
Expand Down

0 comments on commit b0dcd83

Please sign in to comment.