From a92ac2fb7d63112f64cae1c57ffbadf68fe7e9c0 Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Tue, 29 Oct 2024 10:57:11 -0400 Subject: [PATCH] Fix exports in UI package --- ui/package.json | 7 +------ ui/rollup.config.mjs | 7 ++++--- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/ui/package.json b/ui/package.json index ab529cc..5978479 100644 --- a/ui/package.json +++ b/ui/package.json @@ -101,13 +101,8 @@ "./components/page.js": "./dist/_app_/components/page.js", "./services/kolay/api-docs.js": "./dist/_app_/services/kolay/api-docs.js", "./services/kolay/compiler.js": "./dist/_app_/services/kolay/compiler.js", - "./services/kolay/compiler/compile-state.js": "./dist/_app_/services/kolay/compiler/compile-state.js", - "./services/kolay/compiler/import-map.js": "./dist/_app_/services/kolay/compiler/import-map.js", - "./services/kolay/compiler/reactive.js": "./dist/_app_/services/kolay/compiler/reactive.js", "./services/kolay/docs.js": "./dist/_app_/services/kolay/docs.js", - "./services/kolay/request.js": "./dist/_app_/services/kolay/request.js", - "./services/kolay/selected.js": "./dist/_app_/services/kolay/selected.js", - "./services/kolay/types.js": "./dist/_app_/services/kolay/types.js" + "./services/kolay/selected.js": "./dist/_app_/services/kolay/selected.js" } }, "peerDependencies": { diff --git a/ui/rollup.config.mjs b/ui/rollup.config.mjs index 23d4f01..908ef6d 100644 --- a/ui/rollup.config.mjs +++ b/ui/rollup.config.mjs @@ -32,9 +32,10 @@ export default { // not everything in publicEntrypoints necessarily needs to go here. addon.appReexports([ 'components/**/*.js', - 'helpers/**/*.js', - 'modifiers/**/*.js', - 'services/**/*.js', + 'services/kolay/api-docs.js', + 'services/kolay/docs.js', + 'services/kolay/selected.js', + 'services/kolay/compiler.js', ]), // Follow the V2 Addon rules about dependencies. Your code can import from