[Content]: Vinxi app.config.ts needs to be configured for Cloudflare deployment
@amirhhashemi is already working on this.
Since Mar 8, 2025.
Assessment
This issue has not been assessed yet.
Description
📚 Subject area/topic
Cloudflare deployment
📋 Page(s) affected (or suggested, for new content)
/guides/deployment-options/cloudflare.mdx
📋 Description of content that is out-of-date or incorrect
- Vinxi
app.config.tsneeds to be configured to bundle for cloudflare:
server: {
preset: 'cloudflare-pages',
sourceMap: 'inline',
}
This will generate Cloudflare bundle in dist folder.
Serve the Cloudflare bundle locally with npx wrangler pages dev dist --port 3000
Note: source map is enabled to generate stack trace for runtime errors. This is useful for debugging compatibility issues between cloudflare/workerd and node. You can disable sourceMap to reduce deployment size at the cost of gibberish errors.
🖥️ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
- Dominant language
- MDX
- Stars
- 292
- Forks
- 361
- Avg merge
- 7h 51m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from solidjs/solid-docs
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
solidjs/solid-docs#1635 ·
-
good first issue solid solidstart
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
solidjs/solid-docs#1522 ·
-
pending review
solidjs/solid-docs#1637 · 1 assignee ·
-
help wanted
solidjs/solid-docs#1636 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
solidjs/solid-docs#1630 · 1 comment ·