Skip to content

Commit 941d6ca

Browse files
committed
Build and install netlify adapter
1 parent 063cf29 commit 941d6ca

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+22837
-9430
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"config":{"nodeModuleFormat":"esm"},"version":1}
Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
import { init } from '../serverless.js';
2+
3+
export const handler = init((() => {
4+
function __memo(fn) {
5+
let value;
6+
return () => value ??= (value = fn());
7+
}
8+
9+
return {
10+
appDir: "_app",
11+
appPath: "_app",
12+
assets: new Set([".DS_Store","assets/fonts/bold-affa96571d-v2.woff","assets/fonts/bold-b542beb274-v2.woff2","assets/fonts/light-94a07e06a1-v2.woff2","assets/fonts/light-f591b13f7d-v2.woff","assets/images/favicon.ico","assets/images/favicon.svg","assets/images/govuk-crest.svg","assets/images/govuk-icon-180.png","assets/images/govuk-icon-192.png","assets/images/govuk-icon-512.png","assets/images/govuk-icon-mask.svg","assets/images/govuk-opengraph-image.png","assets/images/oflog_crest_black.png","assets/images/oflog_crest_white.png","assets/manifest.json","css/govuk-frontend.min.css","css/govuk-frontend.min.css.map","data/svgFontDimensions.json","data/testData.json","fonts/bold-affa96571d-v2.woff","fonts/bold-b542beb274-v2.woff2","fonts/light-94a07e06a1-v2.woff2","fonts/light-f591b13f7d-v2.woff","js/govuk-frontend.min.js"]),
13+
mimeTypes: {".woff":"font/woff",".woff2":"font/woff2",".svg":"image/svg+xml",".png":"image/png",".json":"application/json",".css":"text/css",".map":"application/json",".js":"text/javascript"},
14+
_: {
15+
client: {"start":"_app/immutable/entry/start.Dcz7IS7o.js","app":"_app/immutable/entry/app.f9hZLmtz.js","imports":["_app/immutable/entry/start.Dcz7IS7o.js","_app/immutable/chunks/B6T8vOCz.js","_app/immutable/chunks/BqQgSr2I.js","_app/immutable/chunks/BgMzVouQ.js","_app/immutable/chunks/NWAaYpEX.js","_app/immutable/entry/app.f9hZLmtz.js","_app/immutable/chunks/C1FmrZbK.js","_app/immutable/chunks/BqQgSr2I.js","_app/immutable/chunks/DSCCKllV.js","_app/immutable/chunks/CKb67zNv.js","_app/immutable/chunks/BAnyEor3.js","_app/immutable/chunks/NrSncrqb.js","_app/immutable/chunks/vSpGRw5b.js","_app/immutable/chunks/BupwT6iW.js","_app/immutable/chunks/NWAaYpEX.js"],"stylesheets":[],"fonts":[],"uses_env_dynamic_public":false},
16+
nodes: [
17+
__memo(() => import('../server/nodes/0.js')),
18+
__memo(() => import('../server/nodes/1.js')),
19+
__memo(() => import('../server/nodes/2.js')),
20+
__memo(() => import('../server/nodes/3.js')),
21+
__memo(() => import('../server/nodes/4.js')),
22+
__memo(() => import('../server/nodes/5.js')),
23+
__memo(() => import('../server/nodes/6.js')),
24+
__memo(() => import('../server/nodes/7.js')),
25+
__memo(() => import('../server/nodes/8.js')),
26+
__memo(() => import('../server/nodes/9.js')),
27+
__memo(() => import('../server/nodes/10.js')),
28+
__memo(() => import('../server/nodes/11.js')),
29+
__memo(() => import('../server/nodes/12.js')),
30+
__memo(() => import('../server/nodes/13.js')),
31+
__memo(() => import('../server/nodes/14.js'))
32+
],
33+
routes: [
34+
{
35+
id: "/",
36+
pattern: /^\/$/,
37+
params: [],
38+
page: { layouts: [0,], errors: [1,], leaf: 2 },
39+
endpoint: null
40+
},
41+
{
42+
id: "/components-update/[slug]/[slug]",
43+
pattern: /^\/components-update\/([^/]+?)\/([^/]+?)\/?$/,
44+
params: [{"name":"slug","optional":false,"rest":false,"chained":false},{"name":"slug","optional":false,"rest":false,"chained":false}],
45+
page: { layouts: [0,], errors: [1,], leaf: 10 },
46+
endpoint: null
47+
},
48+
{
49+
id: "/components/content/pill",
50+
pattern: /^\/components\/content\/pill\/?$/,
51+
params: [],
52+
page: { layouts: [0,], errors: [1,], leaf: 3 },
53+
endpoint: null
54+
},
55+
{
56+
id: "/components/data-vis/bar",
57+
pattern: /^\/components\/data-vis\/bar\/?$/,
58+
params: [],
59+
page: { layouts: [0,], errors: [1,], leaf: 4 },
60+
endpoint: null
61+
},
62+
{
63+
id: "/components/data-vis/line",
64+
pattern: /^\/components\/data-vis\/line\/?$/,
65+
params: [],
66+
page: { layouts: [0,], errors: [1,], leaf: 5 },
67+
endpoint: null
68+
},
69+
{
70+
id: "/components/layout/divider-line",
71+
pattern: /^\/components\/layout\/divider-line\/?$/,
72+
params: [],
73+
page: { layouts: [0,], errors: [1,], leaf: 6 },
74+
endpoint: null
75+
},
76+
{
77+
id: "/components/ui/accordion",
78+
pattern: /^\/components\/ui\/accordion\/?$/,
79+
params: [],
80+
page: { layouts: [0,], errors: [1,], leaf: 7 },
81+
endpoint: null
82+
},
83+
{
84+
id: "/components/ui/checkbox",
85+
pattern: /^\/components\/ui\/checkbox\/?$/,
86+
params: [],
87+
page: { layouts: [0,], errors: [1,], leaf: 8 },
88+
endpoint: null
89+
},
90+
{
91+
id: "/components/ui/radios",
92+
pattern: /^\/components\/ui\/radios\/?$/,
93+
params: [],
94+
page: { layouts: [0,], errors: [1,], leaf: 9 },
95+
endpoint: null
96+
},
97+
{
98+
id: "/playground/create-a-bar-chart",
99+
pattern: /^\/playground\/create-a-bar-chart\/?$/,
100+
params: [],
101+
page: { layouts: [0,], errors: [1,], leaf: 11 },
102+
endpoint: null
103+
},
104+
{
105+
id: "/playground/create-a-reactive-line-chart",
106+
pattern: /^\/playground\/create-a-reactive-line-chart\/?$/,
107+
params: [],
108+
page: { layouts: [0,], errors: [1,], leaf: 12 },
109+
endpoint: null
110+
},
111+
{
112+
id: "/playground/passing-snippets-to-accordion",
113+
pattern: /^\/playground\/passing-snippets-to-accordion\/?$/,
114+
params: [],
115+
page: { layouts: [0,], errors: [1,], leaf: 13 },
116+
endpoint: null
117+
},
118+
{
119+
id: "/user-guide",
120+
pattern: /^\/user-guide\/?$/,
121+
params: [],
122+
page: { layouts: [0,], errors: [1,], leaf: 14 },
123+
endpoint: null
124+
}
125+
],
126+
matchers: async () => {
127+
128+
return { };
129+
},
130+
server_assets: {}
131+
}
132+
}
133+
})());

0 commit comments

Comments
 (0)