Background
I'm developing a WordPress plugin that provides a search functionality for content within the WordPress ecosystem.
My initial approach involved a separate SvelteKit frontend, communicating with a PostgreSQL database via a backend API. This prototype effectively searched within the database.
However, a key requirement has emerged: the plugin must operate entirely within the WordPress environment, without relying on external servers.
The problem
How can I integrate a SvelteKit application (or its core logic) into a WordPress plugin?
Are there any SvelteKit adapters or alternative approaches to achieve this seamless integration?
Is it feasible to build the plugin's frontend using Svelte and handle all the necessary logic within that frontend, given the WordPress environment constraints?
Technical Details:
I need to use the Pods plugin and custom post types to manage content within WordPress.