diff --git a/bundle.sh b/bundle.sh index 82df217..9f421d1 100755 --- a/bundle.sh +++ b/bundle.sh @@ -7,7 +7,7 @@ yarn yarn run build echo "[+] Installing non-bundle-able packages ..." -DISCORD_JS="$(grep discord.js package.json | sed 's|,||')" +# DISCORD_JS="$(grep discord.js package.json | sed 's|,||')" cd "dist" -echo "{\"name\": \"citra-discord-bot\",\"license\": \"GPL-2.0+\",\"dependencies\": {${DISCORD_JS}}}" > package.json +echo "{\"name\": \"citra-discord-bot\",\"license\": \"GPL-2.0+\",\"dependencies\": {}}" > package.json yarn install diff --git a/rollup.config.js b/rollup.config.js index f1131e9..97771b9 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -9,7 +9,6 @@ loader; export default { input: "src/server.ts", - external: ["discord.js"], preserveEntrySignatures: false, output: { dir: "dist",