@sveltejs/adapter-cloudflare
Advanced tools
Comparing version 1.0.0-next.27 to 1.0.0-next.28
10
index.js
@@ -7,3 +7,10 @@ import { writeFileSync } from 'fs'; | ||
/** @type {import('.').default} */ | ||
export default function (options = {}) { | ||
export default function () { | ||
// TODO remove for 1.0 | ||
if (arguments.length > 0) { | ||
throw new Error( | ||
'esbuild options can no longer be passed to adapter-cloudflare — see https://github.com/sveltejs/kit/pull/4639' | ||
); | ||
} | ||
return { | ||
@@ -44,3 +51,2 @@ name: '@sveltejs/adapter-cloudflare', | ||
target: 'es2020', | ||
...options, | ||
entryPoints: [`${tmp}/_worker.js`], | ||
@@ -47,0 +53,0 @@ outfile: `${dest}/_worker.js`, |
{ | ||
"name": "@sveltejs/adapter-cloudflare", | ||
"version": "1.0.0-next.27", | ||
"version": "1.0.0-next.28", | ||
"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
10739
134