diff --git a/index.ts b/index.ts deleted file mode 100644 index f8ecab0..0000000 --- a/index.ts +++ /dev/null @@ -1,5 +0,0 @@ -import ConfigService from './src/ConfigModule/config.service'; -import ConfigModule from './src/ConfigModule/main'; - -export default ConfigModule; -export {ConfigService}; diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..ceb417d --- /dev/null +++ b/src/index.ts @@ -0,0 +1,5 @@ +import ConfigService from './ConfigModule/config.service'; +import ConfigModule from './ConfigModule/index'; + +export default ConfigModule; +export {ConfigService}; diff --git a/tsconfig.json b/tsconfig.json index 229dd5e..11593c8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ "target": "es6", "sourceMap": false, "allowJs": false, - "rootDir": "./", + "rootDir": "./src", "baseUrl": "./", "outDir": "./dist" },