From 242ad13102d9ec3fde70d3d447d34d79d6439054 Mon Sep 17 00:00:00 2001 From: Zyrenth Date: Sun, 8 Sep 2024 17:12:50 +0200 Subject: [PATCH] disable package bundling --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index be88353..c678630 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,12 @@ "type": "module", "scripts": { "lint": "tsc", - "build": "esbuild src/index.ts --outfile=dist/index.js --format=esm --bundle --platform=node --sourcemap", + "build": "esbuild src/index.ts --outfile=dist/index.js --format=esm --bundle --packages=external --platform=node --sourcemap", "start": "node dist/index.js", "prod": "node scripts/run.js lint build start", "dev:lint": "tsc --watch --preserveWatchOutput", "dev:start": "node --watch dist/index.js", - "dev:build": "esbuild src/index.ts --outfile=dist/index.js --format=esm --bundle --platform=node --sourcemap --watch", + "dev:build": "esbuild src/index.ts --outfile=dist/index.js --format=esm --bundle --packages=external --platform=node --sourcemap --watch", "dev": "node scripts/run.js dev:lint dev:start dev:build", "cleanup": "node scripts/cleanup.js dist", "prepare": "husky",