We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vite field in config has any type
vite
any
The reason is wrong import path in node_modules/@solidjs/start/config/index.d.ts
node_modules/@solidjs/start/config/index.d.ts
Cannot find module 'vinxi/dist/types/lib/vite-dev' or its corresponding type declarations.
import type { CustomizableConfig } from "vinxi/dist/types/lib/vite-dev"; type ViteCustomizableConfig = CustomizableConfig & { server?: InlineConfig["server"]; }
Tried to fix this issue by myself, but vinxi doesn't export CustomizableConfig in any obvious way
vinxi
CustomizableConfig
Vite field has right typings in the config
Steps:
defineConfig
app.config.ts
Would love to have good DX when vite options in config are typed
Package manager: pnpm (9.1.2) Editor: vscode (latest stable) Installed packages: "@solidjs/start": "^1.0.0", "vinxi": "^0.3.11"
The text was updated successfully, but these errors were encountered:
found duplicate, so closing this issue
Sorry, something went wrong.
No branches or pull requests
Duplicates
Latest version
Current behavior 😯
vite
field in config hasany
typeThe reason is wrong import path in
node_modules/@solidjs/start/config/index.d.ts
Cannot find module 'vinxi/dist/types/lib/vite-dev' or its corresponding type declarations.
Tried to fix this issue by myself, but
vinxi
doesn't exportCustomizableConfig
in any obvious wayExpected behavior 🤔
Vite field has right typings in the config
Steps to reproduce 🕹
Steps:
vite
field todefineConfig
inapp.config.ts
Context 🔦
Would love to have good DX when vite options in config are typed
Your environment 🌎
The text was updated successfully, but these errors were encountered: