{ "compilerOptions": { "allowSyntheticDefaultImports": true, "esModuleInterop": true, "resolveJsonModule": true, "target": "ESNext", "module": "ESNext", "moduleResolution": "node", "jsxImportSource": "solid-js", "jsx": "preserve", "strict": true, "types": ["solid-start/env"], "baseUrl": "./", "paths": { "~/*": ["./src/*"] } } }
{ "name": "testproj", "scripts": { "dev": "solid-start dev", "build": "solid-start build", "start": "solid-start start" }, "type": "module", "devDependencies": { "@types/node": "^18.11.18", "esbuild": "^0.14.54", "postcss": "^8.4.21", "solid-start-node": "^0.2.26", "solid-start-vercel": "^0.2.26", "typescript": "^4.9.4", "vite": "^4.3.9", "zod": "^3.21.4" }, "dependencies": { "@solidjs/meta": "^0.28.2", "@solidjs/router": "^0.8.2", "@suid/icons-material": "^0.6.1", "@suid/material": "^0.12.1", "@suid/vite-plugin": "^0.1.3", "@trpc/client": "^10.18.0", "@trpc/server": "^10.18.0", "googleapis": "^118.0.0", "solid-icons": "^1.0.4", "solid-js": "^1.6.11", "solid-masonry": "^0.1.6", "solid-start": "^0.2.26", "solid-start-trpc": "^0.0.16", "undici": "^5.15.1" }, "engines": { "node": ">=18.16.1" } }
import solid from "solid-start/vite"; import vercel from "solid-start-vercel" import suidPlugin from "@suid/vite-plugin"; import { defineConfig } from "vite"; export default defineConfig(() => { return { plugins: [ solid({ssr:false, adapter: vercel() }), suidPlugin()], }})