-
Notifications
You must be signed in to change notification settings - Fork 4
Svelte playground hawk catcher #142
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: feature/svelte-integration-playground
Are you sure you want to change the base?
Svelte playground hawk catcher #142
Conversation
779f6f4 to
fb8bc3b
Compare
8f7960d to
d5a9048
Compare
fb8bc3b to
ca82ad2
Compare
d5a9048 to
f06a3ad
Compare
ca82ad2 to
70da4c7
Compare
f06a3ad to
344c9d6
Compare
70da4c7 to
5bbf3cf
Compare
344c9d6 to
680141a
Compare
5bbf3cf to
f31904c
Compare
There was a problem hiding this comment.
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
...
There was a problem hiding this comment.
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.
Closes #137
Added
HawkCatcherconfiguration in svelte playground.