Vite Config Generator
Generate a vite.config.ts/js file from a framework preset (Vanilla, React, React SWC, Vue, Svelte, Solid), optional plugins (SVGR, tsconfig-paths, PWA, compression, bundle visualizer), a path alias builder, a dev-server proxy rule editor, and build options — download or copy, ready to drop in.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Framework
vanilla, react, reactSwc, vue, svelte, solid Use TypeScript (vite.config.ts)
Import SVGs as React components (vite-plugin-svgr)
Resolve aliases from tsconfig.json paths (vite-tsconfig-paths)
Progressive Web App support (vite-plugin-pwa)
Gzip/Brotli-compress build output (vite-plugin-compression)
Bundle size visualizer (rollup-plugin-visualizer)
Path aliases
Port
Open browser automatically on start
Expose to network (host: true)
Dev server proxy rules
Build target
esnext, es2020, es2015, modules Output directory
Generate sourcemaps for the build
Include inline comments explaining each section
Include descriptive header comment
Include npm install command at top
Response
Tool output
The tool's slug, echoing the {slug} in the request path.
Output-contract version for this tool.
Credits this call consumed, after any settlement refund. 0 when metering is disabled.
Credits left in the current monthly allowance, or null when metering is disabled.
Correlation id, also sent as x-request-id.