diff --git a/packages/ripple-tide-search/nuxt.config.ts b/packages/ripple-tide-search/nuxt.config.ts index fb9c11990..d76ba265b 100644 --- a/packages/ripple-tide-search/nuxt.config.ts +++ b/packages/ripple-tide-search/nuxt.config.ts @@ -26,6 +26,14 @@ export default defineNuxtConfig({ } }, modules: ['@dpc-sdp/ripple-ui-maps/nuxt'], + alias: { + '@elastic/search-ui': '@elastic/search-ui/lib/esm/index.js', + '@elastic/search-ui-app-search-connector': + '@elastic/search-ui-app-search-connector/lib/esm/index.js', + '@elastic/search-ui-elasticsearch-connector': + '@elastic/search-ui-elasticsearch-connector/lib/esm/index.js', + '@searchkit/sdk': '@searchkit/sdk/lib/esm/index.js' + }, build: { transpile: [ ({ isDev }) => !isDev && '@elastic/search-ui',