svelte-preprocess
svelte-preprocess copied to clipboard
A ✨ magical ✨ Svelte preprocessor with sensible defaults and support for: PostCSS, SCSS, Less, Stylus, Coffeescript, TypeScript, Pug and much more.
**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. For example: I'm always frustrated when [...] I'm looking to...
**Is your feature request related to a problem? Please describe.** I'm always frustrated when I use nested SCSS and have to apply `:global()` at all nested levels. **Describe the solution...
**Is your feature request related to a problem? Please describe.** Is [the docs](https://github.com/sveltejs/svelte-preprocess/blob/main/docs/getting-started.md) up to date?
**Is your feature request related to a problem? Please describe.** I want to use Master CSS with Svelte in block **Describe the solution you'd like** Master CSS is a new...
**Is your feature request related to a problem? Please describe.** Level 4 CSS selector do not work on Stylus 0.55.0, (this was added on 0.58.0), since Stylus didn't reach 1.0...
E.g. ``` ``` I tried this as per the docs, but it doesn't work: ``` input("{...$$restProps}") ``` Linting throws an `unexpected token` for the spread operator
E.g. ``` DocumentCheckboxInput(bind:value!="{$doc.system.effects[{index}].disabled}") ``` This is part of an iteration, so I need to bind to a particular index within an array.
The example shown in the docs: ``` div Posts +each('posts as post') a(href="{post.url}") {post.title} ``` What I'm trying to do: ``` {#each [...$wildcard] as item (item.id)} {item.name} {/each} ``` So...
**Describe the bug** In my `svelte.config.js`, I'm using `globalStyle`. If I make a css change to a style tag with a `global` attribute, the app updates via HMR as expected,...
In svelte, you can use {@const variable = element} to declare variables. Unfortunately, this lacks typescript type support, for example: ```svelte {@const var = someGenericMethod()} ``` Maybe a configuration option...