This commit is contained in:
Untone 2024-07-13 20:15:41 +03:00
parent 03787196a9
commit 4efec31fec
2 changed files with 1 additions and 3 deletions

View File

@ -25,7 +25,7 @@ export default defineConfig({
server: { server: {
preset: isVercel ? 'vercel_edge' : isBun ? 'bun' : 'node', preset: isVercel ? 'vercel_edge' : isBun ? 'bun' : 'node',
port: 3000, port: 3000,
https: isBun https: true
}, },
devOverlay: true, devOverlay: true,
build: { build: {

View File

@ -1,10 +1,8 @@
{ {
"compilerOptions": { "compilerOptions": {
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
// Solid specific settings
"jsx": "preserve", "jsx": "preserve",
"jsxImportSource": "solid-js", "jsxImportSource": "solid-js",
// Enable top-level await and other modern ESM features.
"target": "ESNext", "target": "ESNext",
"module": "ESNext", "module": "ESNext",
"moduleResolution": "bundler", "moduleResolution": "bundler",