solidjs / solidjs/solid-docs

[Content]: Vinxi app.config.ts needs to be configured for Cloudflare deployment

オープン
#930 コメント 5 件 リアクション 0 件 担当者 1 名 GitHub で見る

@amirhhashemi がすでに取り組んでいます。

2025年3月8日 から。

planned solid
主要言語
MDX
スター
292
フォーク
361
平均マージ
7時間 51分
マージ済み PR(30日)
1

説明

📚 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
  1. Vinxi app.config.ts needs 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。