Skip to content

Commit 24c42c2

Browse files
authored
chore: configure typescript moduleSuffixes (#449)
chore: configure typescript `moduleSuffixes` #56 Signed-off-by: Jan Kowalleck <[email protected]>
1 parent cdea937 commit 24c42c2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

tsconfig.node.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"extends": "./tsconfig.json",
44
"files": ["src/index.node.ts"],
55
"compilerOptions": {
6+
"moduleSuffixes": [".node", ""],
67
"outDir": "./dist.node/"
78
}
89
}

tsconfig.web.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
{
22
"$schema": "https://json.schemastore.org/tsconfig",
33
"extends": "./tsconfig.json",
4-
"files": ["src/index.web.ts"]
4+
"files": ["src/index.web.ts"],
5+
"compilerOptions": {
6+
"moduleSuffixes": [".web", ""],
7+
}
58
}

0 commit comments

Comments
 (0)