mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-27 08:04:19 +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
|
yarn run build
|
||||||
|
|
||||||
echo "[+] Installing non-bundle-able packages ..."
|
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"
|
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
|
yarn install
|
||||||
|
@ -9,7 +9,6 @@ loader;
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
input: "src/server.ts",
|
input: "src/server.ts",
|
||||||
external: ["discord.js"],
|
|
||||||
preserveEntrySignatures: false,
|
preserveEntrySignatures: false,
|
||||||
output: {
|
output: {
|
||||||
dir: "dist",
|
dir: "dist",
|
||||||
|
Loading…
Reference in New Issue
Block a user