Skip to content

Commit 9100013

Browse files
authored
chore: switch to ESM (#856)
1 parent f71cea6 commit 9100013

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

examples/nodejs-minimal/tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2019",
4-
"module": "commonjs",
5-
"moduleResolution": "node",
3+
"module": "ESNext",
4+
"moduleResolution": "Bundler",
5+
"target": "ES2022",
66
"outDir": "./dist",
77
"strict": true,
88
"strictNullChecks": true,

examples/serverless-function-minimal/tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
3-
"target": "ES2019",
4-
"module": "commonjs",
5-
"moduleResolution": "node",
3+
"module": "ESNext",
4+
"moduleResolution": "Bundler",
5+
"target": "ES2022",
66
"outDir": "./dist",
77
"strict": true,
88
"strictNullChecks": true,

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"compilerOptions": {
33
"noEmit": true,
44
"lib": ["ES2022", "DOM", "DOM.Iterable"],
5-
"module": "commonjs",
6-
"moduleResolution": "node",
5+
"module": "ESNext",
6+
"moduleResolution": "Bundler",
77
"target": "ES2022",
88
"strict": true,
99
"alwaysStrict": true,

0 commit comments

Comments
 (0)