GHHG10's picture
download
raw
579 Bytes
import { defineConfig, PluginOption } from "vite"
import { solidStart } from "@solidjs/start/config"
import { nitro } from "nitro/vite"
export default defineConfig({
plugins: [
solidStart({
middleware: "./src/middleware.ts",
}) as PluginOption,
nitro({
compatibilityDate: "2024-09-19",
preset: "cloudflare-module",
cloudflare: {
nodeCompat: true,
},
}),
],
server: {
allowedHosts: true,
port: 3001,
},
build: {
rollupOptions: {
external: ["cloudflare:workers"],
},
minify: false,
},
})

Xet Storage Details

Size:
579 Bytes
·
Xet hash:
db5e215b767888cc0aba5e584089b40490477af1992b00a7eab69d718770b94e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.