Am I missing a sveltekit config? #656
-
I'm getting a bunch of these Do you all see those in your projects or did you add some additional configuration to have them purged during the build? Thanks! I've narrowed it down to the way I use When I do things like this I do not see any errors: <label for={id} class=label>
<span class='label-text'>{label}</span>
</label>
<input {id} use:typeWorkaround bind:value {required} bind:this={input} class='input input-bordered' /> However, when I do it like this, I see a bunch of <label for={id}>
<span>{label}</span>
</label>
<input {id} use:typeWorkaround bind:value {required} bind:this={input} />
<style>
/* https://daisyui.com/components/input */
label { @apply
label;
}
label > span { @apply
label-text;
}
input { @apply
input
input-bordered;
}
</style> |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
I tried to reproduce this issue but everything seems to work fine: https://stackblitz.com/edit/daisyui-sveltekit-69ehca?file=src/routes/index.svelte |
Beta Was this translation helpful? Give feedback.
I tried to reproduce this issue but everything seems to work fine:
https://stackblitz.com/edit/daisyui-sveltekit-69ehca?file=src/routes/index.svelte