From afd4ef15331508c2d65a22cc54cab8a84c73661d Mon Sep 17 00:00:00 2001 From: Samuel Kopp <62482066+boywithkeyboard@users.noreply.github.com> Date: Wed, 8 May 2024 11:36:11 +0200 Subject: [PATCH] fix: do not bundle `octokit` --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f0d9d4b..66a24d9 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "scripts": { "dev": "npm run build && node --env-file .env build/index.cjs", "start": "node build/index.cjs", - "build": "astro build && esbuild registry/index.ts --bundle --format=cjs --loader:.html=text --loader:.svg=text --external:esbuild --platform=node --outfile=build/index.cjs", + "build": "astro build && esbuild registry/index.ts --bundle --format=cjs --loader:.html=text --loader:.svg=text --external:esbuild --external:octokit --platform=node --outfile=build/index.cjs", "pretest": "node build/index.cjs &", "test": "node --test", "posttest": "kill $(lsof -t -i:3000)",