We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9b3add commit 90a84a1Copy full SHA for 90a84a1
templates/base/jsconfig.json
@@ -6,8 +6,15 @@
6
"noEmit": true,
7
"allowJs": true,
8
"checkJs": true,
9
+
10
+ /* Preact Config */
11
"jsx": "react-jsx",
- "jsxImportSource": "preact"
12
+ "jsxImportSource": "preact",
13
+ "skipLibCheck": true,
14
+ "paths": {
15
+ "react": ["./node_modules/preact/compat/"],
16
+ "react-dom": ["./node_modules/preact/compat/"]
17
+ }
18
},
19
"include": ["node_modules/vite/client.d.ts", "**/*"]
20
}
templates/base/package.json
@@ -1,5 +1,4 @@
1
{
2
- "name": "example",
3
"private": true,
4
"type": "module",
5
"scripts": {
templates/ssr/package.json
0 commit comments