-
Notifications
You must be signed in to change notification settings - Fork 0
/
rakkas.config.ts
36 lines (33 loc) · 1.1 KB
/
rakkas.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { defineConfig } from "@rakkasjs/cli";
// Edit this file to change default configuration options.
// You may delete it if you're happy with the default config options.
// Rakkas bundles this file with esbuild before loading, so you can use TypeScript.
// defineConfig is a helper to ensure IDE code-completion.
export default defineConfig({
//
// File extensions for pages and layouts
// pageExtensions: ["jsx", "tsx"],
//
// Directory that contains pages and layouts
// pagesDir: "pages",
//
// File extensions for endpoints and middleware
// endpointExtensions: ["js", "ts"],
//
// Directory that contains endpoints and middleware
// apiDir: "api",
//
// Base URL for endpoints
// apiRoot: "/api",
//
// Trust the x-forwarded-host and x-forwarded-proto headers in dev server.
// This is useful behind a reverse proxy. Set env variable TRUST_FORWARDED_ORIGIN to
// a non-empty string if you want the same in production.
// trustForwardedOrigin: false,
//
// Vite configuration (not all options are supported)
// vite: {},
//
// Babel options passed to Vite's React plugin */
// babel: {},
});