From 9aef2f7a1791d83617dddc6c6ff37b44b3e2ef78 Mon Sep 17 00:00:00 2001 From: Karin Hendrikse <30577427+khendrikse@users.noreply.github.com> Date: Mon, 3 Oct 2022 11:44:02 +0200 Subject: [PATCH] feat: update bootstrap latest to use latest version of bootstrap (#146) * chore: update bootstrap latest to use latest version of bootstrap * chore: update bootstrap to the correct latest version --- node/formats/javascript.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/formats/javascript.ts b/node/formats/javascript.ts index f3d88c20..d1e64e4d 100644 --- a/node/formats/javascript.ts +++ b/node/formats/javascript.ts @@ -13,7 +13,7 @@ import { ImportMap } from '../import_map.js' import type { FormatFunction } from '../server/server.js' import { getFileHash } from '../utils/sha256.js' -const BOOTSTRAP_LATEST = 'https://62f5f45fbc76ed0009624267--edge.netlify.com/bootstrap/index-combined.ts' +const BOOTSTRAP_LATEST = 'https://6335ada772145800075958c3--edge.netlify.com/bootstrap/index-combined.ts' interface BundleJSOptions { buildID: string @@ -118,7 +118,7 @@ const getLocalEntryPoint = ( return ` try { const { default: func } = await import("${url}"); - + if (typeof func === "function") { functions["${func.name}"] = func; metadata.functions["${func.name}"] = ${JSON.stringify(metadata)}