@capri-js/cloudflare
Advanced tools
Comparing version 1.0.0-next.2 to 1.0.0-next.3
@@ -13,5 +13,5 @@ import { fsutils } from "capri"; | ||
}, | ||
async build({ ssrBundle, outDir }) { | ||
async build({ ssrBundle, rootDir, outDir }) { | ||
const dirName = path.dirname(new URL(import.meta.url).pathname); | ||
const funcDir = path.resolve(outDir, "functions"); | ||
const funcDir = path.resolve(rootDir, "functions"); | ||
// Cloudflare treats projects without a 404 page as SPA. | ||
@@ -18,0 +18,0 @@ // To enable MPA mode we add a basic error page if no custom one exists. |
{ | ||
"name": "@capri-js/cloudflare", | ||
"version": "1.0.0-next.2", | ||
"version": "1.0.0-next.3", | ||
"description": "", | ||
@@ -19,3 +19,3 @@ "author": "Felix Gnass <fgnass@gmail.com>", | ||
"dependencies": { | ||
"capri": "^4.2.0-next.6" | ||
"capri": "^4.2.0-next.7" | ||
}, | ||
@@ -22,0 +22,0 @@ "devDependencies": { |
4238
Updatedcapri@^4.2.0-next.7