fix bundling for discord.js
This commit is contained in:
parent
a3d28e9e73
commit
1b3aae766b
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "NODE_ENV=development nodemon --watch index.ts --exec esno index.ts",
|
"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:./node_modules/discord.js --outdir=dist",
|
"build": "esbuild index.ts --format=cjs --platform=node --target=node17 --minify --bundle --sourcemap --external:discord.js --outdir=dist",
|
||||||
"lint": "eslint **/*.ts"
|
"lint": "eslint **/*.ts"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue