Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansolid committed Dec 19, 2023
1 parent 7c5e3b3 commit f733854
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ export default defineConfig({
appRoot: "./docs",
extensions: ["mdx", "md"],
server: {
preset: "cloudflare",
rollupConfig: {
external: ["__STATIC_CONTENT_MANIFEST", "node:async_hooks"]
},
prerender: {
crawlLinks: true
}
Expand Down
11 changes: 8 additions & 3 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name = "solid-start"
compatibility_date = "2022-08-05"
compatibility_date = "2022-09-10"
account_id = "fa2a5e3787deead800c822a0e1171763"
zone_id = "9258b29d3b22bdba0666469e82d18225"
main = "./dist/server.js"
main = "./.output/server/index.mjs"
type = "javascript"
route = "start.solidjs.com/*"
compatibility_flags = [ "nodejs_compat" ]

rules = [
{ type = "ESModule", globs = ["**/*.js", "**/*.mjs"]},
]

[site]
bucket = "./dist/public"
bucket = ".output/public"

0 comments on commit f733854

Please sign in to comment.