You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -26,30 +26,6 @@ export type { Runtime } from './utils/handler.js';
26
26
exporttypeOptions={
27
27
/** Options for handling images. */
28
28
imageService?: ImageService;
29
-
/** Configuration for `_routes.json` generation. A _routes.json file controls when your Function is invoked. This file will include three different properties:
30
-
*
31
-
* - version: Defines the version of the schema. Currently there is only one version of the schema (version 1), however, we may add more in the future and aim to be backwards compatible.
32
-
* - include: Defines routes that will be invoked by Functions. Accepts wildcard behavior.
33
-
* - exclude: Defines routes that will not be invoked by Functions. Accepts wildcard behavior. `exclude` always take priority over `include`.
34
-
*
35
-
* Wildcards match any number of path segments (slashes). For example, `/users/*` will match everything after the `/users/` path.
36
-
*
37
-
*/
38
-
routes?: {
39
-
/** Extend `_routes.json` */
40
-
extend: {
41
-
/** Paths which should be routed to the SSR function */
42
-
include?: {
43
-
/** Generally this is in pathname format, but does support wildcards, e.g. `/users`, `/products/*` */
44
-
pattern: string;
45
-
}[];
46
-
/** Paths which should be routed as static assets */
47
-
exclude?: {
48
-
/** Generally this is in pathname format, but does support wildcards, e.g. `/static`, `/assets/*`, `/images/avatar.jpg` */
49
-
pattern: string;
50
-
}[];
51
-
};
52
-
};
53
29
54
30
/**
55
31
* Allow bundling cloudflare worker specific file types as importable modules. Defaults to true.
0 commit comments