bundle.
This commit is contained in:
parent
35331b783e
commit
a3d28e9e73
2 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
|||
import type { Client, Message } from 'discord.js';
|
||||
import fetch from 'node-fetch';
|
||||
import { POLYCAT_CHANNEL_ID } from './constants';
|
||||
|
||||
type Commands = {
|
||||
[cmd: string]: (c: Client, e: Message) => void | Promise<void>;
|
||||
|
|
|
@ -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:./node_modules/* --outdir=dist",
|
||||
"build": "esbuild index.ts --format=cjs --platform=node --target=node17 --minify --bundle --sourcemap --external:./node_modules/discord.js --outdir=dist",
|
||||
"lint": "eslint **/*.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue