mirror of
https://github.com/yuzu-emu/Command-fix
synced 2024-11-23 15:13:40 +00:00
rollup: try to bundle Discord.js as well
This commit is contained in:
parent
0ab62ff4df
commit
280032fb1c
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -9,7 +9,6 @@ loader;
|
|||
|
||||
export default {
|
||||
input: "src/server.ts",
|
||||
external: ["discord.js"],
|
||||
preserveEntrySignatures: false,
|
||||
output: {
|
||||
dir: "dist",
|
||||
|
|
Loading…
Reference in a new issue