From 5d449a075a795e3ef00895a3cf4bf2b26588672e Mon Sep 17 00:00:00 2001 From: Heikki Hellgren Date: Tue, 26 Mar 2024 09:19:17 +0200 Subject: [PATCH] fix: add default exports for module and backend --- plugins/qeta-backend/src/index.ts | 6 +++++- plugins/search-backend-module-qeta/src/index.ts | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/plugins/qeta-backend/src/index.ts b/plugins/qeta-backend/src/index.ts index f7a6fbc1..2f3f225c 100644 --- a/plugins/qeta-backend/src/index.ts +++ b/plugins/qeta-backend/src/index.ts @@ -17,4 +17,8 @@ export * from './service/router'; export * from './database'; export * from './search'; -export { qetaPlugin, qetaPlugin as plugin } from './plugin'; +export { + qetaPlugin, + qetaPlugin as plugin, + qetaPlugin as default, +} from './plugin'; diff --git a/plugins/search-backend-module-qeta/src/index.ts b/plugins/search-backend-module-qeta/src/index.ts index 6a8af40e..7c5303fb 100644 --- a/plugins/search-backend-module-qeta/src/index.ts +++ b/plugins/search-backend-module-qeta/src/index.ts @@ -5,5 +5,8 @@ * @packageDocumentation */ -export { searchModuleQetaCollator } from './module'; +export { + searchModuleQetaCollator, + searchModuleQetaCollator as default, +} from './module'; export * from './collators';