mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-23 10:25:41 +01:00
rollup: try to bundle Discord.js as well
This commit is contained in:
parent
0ab62ff4df
commit
280032fb1c
@ -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 New Issue
Block a user