diff --git a/package.json b/package.json index 02f2498..0f2f4c6 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "dev": "NODE_ENV=development nodemon --watch index.ts --exec esno index.ts", - "build": "esbuild index.ts --format=cjs --platform=node --target=node17 --minify --bundle --sourcemap --external:discord.js --outdir=dist", + "build": "esbuild index.ts --format=cjs --platform=node --target=node17 --minify --bundle --sourcemap --external:./node_modules/* --outdir=dist", "lint": "eslint **/*.ts" }, "dependencies": {