15 lines
513 B
JavaScript
15 lines
513 B
JavaScript
/**
|
|
* Standalone (bare-pack) entry for `npm run build:dist`.
|
|
*
|
|
* Unpacked Bare keeps `index.mjs` and loads discord.js via
|
|
* `require('bare-discord-js')`. This file statically imports discord.js after
|
|
* the WHATWG adapters so the packer rewrites it into the bundle and
|
|
* `takePackedDiscordJs()` is populated at boot.
|
|
*/
|
|
import 'bare-process/global';
|
|
import 'bare-abort-controller/global';
|
|
import 'bare-fetch/global';
|
|
import './discord/ws-bootstrap.cjs';
|
|
import './discord/packed.mjs';
|
|
import './index.mjs';
|