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 type { Client, Message } from 'discord.js';
|
||||||
import fetch from 'node-fetch';
|
import fetch from 'node-fetch';
|
||||||
import { POLYCAT_CHANNEL_ID } from './constants';
|
|
||||||
|
|
||||||
type Commands = {
|
type Commands = {
|
||||||
[cmd: string]: (c: Client, e: Message) => void | Promise<void>;
|
[cmd: string]: (c: Client, e: Message) => void | Promise<void>;
|
||||||
|
|
|
@ -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/* --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"
|
"lint": "eslint **/*.ts"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue