Skip to content

Conversation

@Reversean
Copy link
Member

@Reversean Reversean commented Dec 24, 2025

Closes #137

Added HawkCatcher configuration in svelte playground.

@Reversean Reversean changed the base branch from master to feature/svelte-integration-playground December 24, 2025 12:38
@Reversean Reversean force-pushed the feature/svelte-playground-hawk-catcher branch from 779f6f4 to fb8bc3b Compare December 24, 2025 12:58
@Reversean Reversean linked an issue Dec 24, 2025 that may be closed by this pull request
7 tasks
@Reversean Reversean force-pushed the feature/svelte-integration-playground branch from 8f7960d to d5a9048 Compare December 26, 2025 09:42
@Reversean Reversean force-pushed the feature/svelte-playground-hawk-catcher branch from fb8bc3b to ca82ad2 Compare December 26, 2025 09:43
@Reversean Reversean force-pushed the feature/svelte-integration-playground branch from d5a9048 to f06a3ad Compare December 26, 2025 13:26
@Reversean Reversean force-pushed the feature/svelte-playground-hawk-catcher branch from ca82ad2 to 70da4c7 Compare December 26, 2025 13:28
@Reversean Reversean force-pushed the feature/svelte-integration-playground branch from f06a3ad to 344c9d6 Compare December 26, 2025 13:40
@Reversean Reversean force-pushed the feature/svelte-playground-hawk-catcher branch from 70da4c7 to 5bbf3cf Compare December 26, 2025 13:40
@Reversean Reversean force-pushed the feature/svelte-integration-playground branch from 344c9d6 to 680141a Compare December 27, 2025 20:54
@Reversean Reversean force-pushed the feature/svelte-playground-hawk-catcher branch from 5bbf3cf to f31904c Compare December 27, 2025 20:55
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe it should be inside "svelte" package?

/packages
   /svelte
      /playground
      /src
   ...

Copy link
Member Author

@Reversean Reversean Dec 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tried it first, but it seems some problem with yarn or vite:

If I put playground directory into packages/svelte and define it as workspace (I need it because i need to add dependency on @hawk.so/svelte somehow) yarn workspace @hawk.so/svelte-playground build breaks with an error due to the fact that it does not understand some svelte syntax constructs.

Usually it output something like this:

error during build:
[vite-plugin-svelte:compile] [plugin vite-plugin-svelte:compile] src/routes/+layout.svelte (3:9)
1 | <script lang="ts">
2 | import '../app.css';
3 | import favicon from '$lib/assets/favicon.svg';
           ^
4 |
5 | let {children} = $props();

which shouldn't happen at all.

It seems that vitePreprocess from @sveltejs/vite-plugin-svelte stopped working in this case, but I still don't understand why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement Svelte playground project Svelte/SvelteKit integration package

3 participants