We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3edb240 commit 49a4f32Copy full SHA for 49a4f32
.changeset/chilled-students-unite.md
@@ -0,0 +1,5 @@
1
+---
2
+'@sveltejs/adapter-static': patch
3
4
+
5
+Make options object optional
packages/adapter-static/index.js
@@ -24,7 +24,7 @@ export default function (options) {
24
};
25
});
26
27
- if (dynamic_routes.length > 0 && options.strict) {
+ if (dynamic_routes.length > 0 && options?.strict !== false) {
28
const prefix = path.relative('.', builder.config.kit.files.routes);
29
const has_param_routes = dynamic_routes.some((route) => route.includes('['));
30
const config_option =
0 commit comments