mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 02:50:37 +00:00
feat: use cloudflare adapter for main site (#10)
This commit is contained in:
parent
385e36f1e4
commit
70f3bec275
4 changed files with 11 additions and 4 deletions
Binary file not shown.
|
@ -12,7 +12,7 @@
|
|||
"format": "prettier --write ."
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sveltejs/adapter-vercel": "^5.4.6",
|
||||
"@sveltejs/adapter-cloudflare": "^4.8.0",
|
||||
"@sveltejs/kit": "^2.7.3",
|
||||
"@sveltejs/vite-plugin-svelte": "^4.0.0",
|
||||
"@tailwindcss/typography": "^0.5.15",
|
||||
|
@ -33,7 +33,8 @@
|
|||
"tailwindcss": "^3.4.14",
|
||||
"typescript": "^5.6.3",
|
||||
"typescript-eslint": "^8.12.2",
|
||||
"vite": "^5.4.10"
|
||||
"vite": "^5.4.10",
|
||||
"wrangler": "^3.91.0"
|
||||
},
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { mdsvex } from "mdsvex"
|
||||
import adapter from "@sveltejs/adapter-cloudflare"
|
||||
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"
|
||||
import adapter from "@sveltejs/adapter-vercel"
|
||||
import { mdsvex } from "mdsvex"
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
|
|
6
website/wrangler.toml
Normal file
6
website/wrangler.toml
Normal file
|
@ -0,0 +1,6 @@
|
|||
name = "pesde"
|
||||
compatibility_date = "2024-11-30"
|
||||
pages_build_output_dir = ".svelte-kit/cloudflare"
|
||||
|
||||
[vars]
|
||||
PUBLIC_REGISTRY_URL = "https://registry.pesde.daimond113.com/v0/"
|
Loading…
Reference in a new issue