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",