From 89b8f0b9c932dee51e35e655646a3c57056f5712 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Mon, 29 Jun 2020 02:36:28 -0400 Subject: [PATCH] new entry file location --- src/index.ts | 3 ++- src/main.ts | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 src/main.ts diff --git a/src/index.ts b/src/index.ts index 3f299c9..4147cc3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,5 @@ -export { default as Client } from './Client'; +export { default as Client } from './class/Client'; +// eslint-disable-next-line import/no-unresolved export { default as config } from './config.json'; export * from './class'; export * from './commands'; diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 0000000..e971265 --- /dev/null +++ b/src/main.ts @@ -0,0 +1,4 @@ +import { Client } from './class'; + +// eslint-disable-next-line no-new +new Client();