Skip to content

Commit

Permalink
chore: cf deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickHeneise committed Nov 11, 2024
1 parent 0fad046 commit cb3552c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ import tailwindcss from 'tailwindcss'
import { config } from 'vinxi/plugins/config'

export default defineConfig({
appRoot: './src',
appRoot: 'src',
islands: false,
server: {
preset: 'cloudflare_module',
rollupConfig: {
external: ['__STATIC_CONTENT_MANIFEST', 'node:async_hooks']
},
prerender: {
crawlLinks: true
}
// prerender: {
// crawlLinks: true
// }
},
vite: {
optimizeDeps: {
Expand Down
9 changes: 9 additions & 0 deletions wrangler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,14 @@ name = "boulderjs-org"
compatibility_date = "2023-11-09"
account_id = "2c1139e40b2ed1b0a3fed3d2204af46f"

main = "./.output/server/index.mjs"
type = "javascript"
route = "start.solidjs.com/*"
compatibility_flags = [ "nodejs_compat" ]

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

[site]
bucket = ".output/public"

0 comments on commit cb3552c

Please sign in to comment.