diff --git a/code/addons/viewport/package.json b/code/addons/viewport/package.json index 80d650b26432..6457e61189e0 100644 --- a/code/addons/viewport/package.json +++ b/code/addons/viewport/package.json @@ -30,8 +30,6 @@ "import": "./dist/index.mjs" }, "./manager": "./dist/manager.js", - "./preview": "./dist/preview.ts", - "./register": "./dist/manager.js", "./package.json": "./package.json" }, "main": "dist/index.js", @@ -74,9 +72,6 @@ ], "managerEntries": [ "./src/manager.tsx" - ], - "previewEntries": [ - "./src/preview.ts" ] }, "gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae17", diff --git a/code/addons/viewport/src/index.ts b/code/addons/viewport/src/index.ts index 832595462640..79e0216d7923 100644 --- a/code/addons/viewport/src/index.ts +++ b/code/addons/viewport/src/index.ts @@ -1,4 +1,2 @@ -export * from './constants'; export * from './defaults'; -export * from './models'; -export * from './shortcuts'; +export type * from './models'; diff --git a/code/addons/viewport/src/models/index.ts b/code/addons/viewport/src/models/index.ts index 0cc15c61f914..7eb7ed1a6942 100644 --- a/code/addons/viewport/src/models/index.ts +++ b/code/addons/viewport/src/models/index.ts @@ -1,2 +1,2 @@ -export * from './Viewport'; -export * from './ViewportAddonParameter'; +export type * from './Viewport'; +export type * from './ViewportAddonParameter'; diff --git a/code/addons/viewport/src/preview.ts b/code/addons/viewport/src/preview.ts deleted file mode 100644 index 05f32144967d..000000000000 --- a/code/addons/viewport/src/preview.ts +++ /dev/null @@ -1 +0,0 @@ -export { INITIAL_VIEWPORTS, DEFAULT_VIEWPORT, MINIMAL_VIEWPORTS } from './defaults';