@sveltejs/adapter-static
Advanced tools
Comparing version 1.0.0-next.36 to 1.0.0-next.37
# @sveltejs/adapter-static | ||
## 1.0.0-next.37 | ||
### Patch Changes | ||
- [breaking] Throws when correctly configured to run as a static site of a SPA ([#5562](https://github.com/sveltejs/kit/pull/5562)) | ||
## 1.0.0-next.36 | ||
@@ -4,0 +10,0 @@ |
@@ -17,4 +17,4 @@ import { createReadStream, createWriteStream, statSync } from 'fs'; | ||
if (!options?.fallback && !builder.config.kit.prerender.default) { | ||
builder.log.warn( | ||
'You should set `config.kit.prerender.default` to `true` if no fallback is specified' | ||
throw Error( | ||
'adapter-static requires `config.kit.prerender.default` to be `true` unless you set the `fallback: true` option to create a single-page app. See https://github.com/sveltejs/kit/tree/master/packages/adapter-static#spa-mode for more information' | ||
); | ||
@@ -21,0 +21,0 @@ } |
{ | ||
"name": "@sveltejs/adapter-static", | ||
"version": "1.0.0-next.36", | ||
"version": "1.0.0-next.37", | ||
"repository": { | ||
@@ -25,3 +25,3 @@ "type": "git", | ||
"devDependencies": { | ||
"@sveltejs/kit": "1.0.0-next.372", | ||
"@sveltejs/kit": "1.0.0-next.377", | ||
"@types/node": "^16.11.36", | ||
@@ -33,3 +33,3 @@ "playwright-chromium": "^1.23.3", | ||
"uvu": "^0.5.3", | ||
"vite": "^2.9.13" | ||
"vite": "^3.0.0" | ||
}, | ||
@@ -36,0 +36,0 @@ "scripts": { |
@@ -13,5 +13,5 @@ { | ||
"svelte": "^3.48.0", | ||
"vite": "^2.9.13" | ||
"vite": "^3.0.0" | ||
}, | ||
"type": "module" | ||
} |
@@ -15,5 +15,5 @@ { | ||
"svelte": "^3.48.0", | ||
"vite": "^2.9.13" | ||
"vite": "^3.0.0" | ||
}, | ||
"type": "module" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28056