From 9bf1dad04352c9b6f56dc8c5f9c3342cd6744153 Mon Sep 17 00:00:00 2001 From: Gordon Schroeder Date: Mon, 4 Dec 2023 14:01:57 +0100 Subject: [PATCH] fix: Fix viewer core package main entry --- libs/viewer-core/project.json | 2 +- libs/viewer-core/src/index.ts | 1 - libs/viewer-core/src/main.ts | 5 ----- 3 files changed, 1 insertion(+), 7 deletions(-) delete mode 100644 libs/viewer-core/src/main.ts diff --git a/libs/viewer-core/project.json b/libs/viewer-core/project.json index 0925acd..340be82 100644 --- a/libs/viewer-core/project.json +++ b/libs/viewer-core/project.json @@ -9,7 +9,7 @@ "outputs": ["{options.outputPath}"], "options": { "outputPath": "dist/libs/viewer-core", - "main": "libs/viewer-core/src/main.ts", + "main": "libs/viewer-core/src/index.ts", "tsConfig": "libs/viewer-core/tsconfig.lib.json", "assets": ["libs/viewer-core/*.md"], "updateBuildableProjectDepsInPackageJson": true diff --git a/libs/viewer-core/src/index.ts b/libs/viewer-core/src/index.ts index f699597..8a88a3e 100644 --- a/libs/viewer-core/src/index.ts +++ b/libs/viewer-core/src/index.ts @@ -1,6 +1,5 @@ export * from './core'; export * from './feature'; export * from './util'; -export * from './main'; export * from './types'; export * from './enums'; diff --git a/libs/viewer-core/src/main.ts b/libs/viewer-core/src/main.ts deleted file mode 100644 index 1eca530..0000000 --- a/libs/viewer-core/src/main.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { ViewerLauncher } from './core'; - -export default function launcherFactory() { - return new ViewerLauncher(); -}