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
'Missing a netlify.toml file. Consult https://github.com/sveltejs/kit/tree/master/packages/adapter-netlify#configuration'
24
-
);
25
-
}
26
-
27
-
if(
28
-
!netlify_config.build||
29
-
!netlify_config.build.publish||
30
-
!netlify_config.build.functions
31
-
){
32
-
thrownewError(
33
-
'You must specify build.publish and build.functions in netlify.toml. Consult https://github.com/sveltejs/kit/tree/master/packages/adapter-netlify#configuration'
'You must specify build.publish and build.functions in netlify.toml. Consult https://github.com/sveltejs/kit/tree/master/packages/adapter-netlify#configuration'
62
+
);
63
+
}
64
+
65
+
returnnetlify_config;
66
+
}
67
+
68
+
// TODO offer to create one?
69
+
thrownewError(
70
+
'Missing a netlify.toml file. Consult https://github.com/sveltejs/kit/tree/master/packages/adapter-netlify#configuration'
0 commit comments