diff --git a/package.json b/package.json index 4982548..295ddcd 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "types": "./types/exports.d.ts", "exports": { ".": { + "import": "./src/exports.mjs", "require": "./src/exports.js", "default": "./src/exports.js", "types": "./types/exports.d.ts" diff --git a/src/exports.mjs b/src/exports.mjs new file mode 100644 index 0000000..3f03bf1 --- /dev/null +++ b/src/exports.mjs @@ -0,0 +1,3 @@ +export { DiscordBot } from './class/discordBot' +export { asNumber, asString } from './func/colour' +export { applyStyle, asEmbed } from './func/style'