@sveltejs/adapter-netlify
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -42,2 +42,9 @@ import { appendFileSync, existsSync, readFileSync, writeFileSync } from 'fs'; | ||
async adapt(builder) { | ||
if (!builder.routes) { | ||
throw new Error( | ||
'@sveltejs/adapter-netlify >=2.x (possibly installed through @sveltejs/adapter-auto) requires @sveltejs/kit version 1.5 or higher. ' + | ||
'Either downgrade the adapter or upgrade @sveltejs/kit' | ||
); | ||
} | ||
const netlify_config = get_netlify_config(); | ||
@@ -44,0 +51,0 @@ |
{ | ||
"name": "@sveltejs/adapter-netlify", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
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
796867
18704