Skip to content

Commit 9210728

Browse files
committed
1 parent 54cb936 commit 9210728

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

template-ssr-preact-ts/tsconfig.json

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
"module": "ESNext",
66
"lib": ["ES2020", "DOM", "DOM.Iterable"],
77
"skipLibCheck": true,
8+
"paths": {
9+
"react": ["./node_modules/preact/compat/"],
10+
"react-dom": ["./node_modules/preact/compat/"]
11+
},
812

913
/* Bundler mode */
1014
"moduleResolution": "bundler",

0 commit comments

Comments
 (0)