Svelte popup is not working from the with-svelte example

I have cloned the repo, installed using pnpm i and run dev server pnpm run dev. When I load the unpacked extension and click on it, doesnt open the popup.

I also checked there is no popup html in the generated manifest in build directory, but it works with popup.tsx
Solution
It works now, the problem was with svelte config.

import preprocess from "svelte-preprocess"

/**
 * This will add autocompletion if you're working with SvelteKit
 * https://github.com/sveltejs/svelte-preprocess/blob/main/docs/usage.md
 * @type {import('@sveltejs/kit').Config}
 */
const config = {
  preprocess: preprocess({
    // ...svelte-preprocess options
  }),
  compilerOptions: {
    css: "injected" // this is the default mode
  }
  // ...other svelte options
}

export default config
Was this page helpful?