svelte-preprocess icon indicating copy to clipboard operation
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.

Results 101 svelte-preprocess issues
Sort by recently updated
recently updated
newest added

**Describe the bug** In my `+layout.svelte` root file I have this import statement for my global css ```css @import url('../app.css'); ``` However the imported css is not processed via PostCSS....

**Describe the bug** I'm using `stylus` as the css preprocessor. This syntax is no longer working and throwing an error instead. It looks like the processed code does not add...

bug
help wanted

**Describe the bug** when typechecking `svelte.config.js` with `moduleResolution` set to `nodenext`, the following compile errors occur: ``` node_modules/svelte-preprocess/dist/types/index.d.ts:2:106 - error TS2307: Cannot find module 'svelte/types/compiler/preprocess' or its corresponding type declarations....

**Is your feature request related to a problem? Please describe.** The `replace` preprocessor does not support source maps. I'm using it to replace multiple lines. **Describe the solution you'd like**...

enhancement
good first issue

Adds support for the [civet](https://civet.dev/) language. Also added tests 👍

### Describe the bug Using `` causes a Typescript error. The `string` type is interpreted as `string | null | undefined`. To fix, we can use ` ### Reproduction ```...

bug

I'm starting to use svelte-preprocess with webpack and tailwindcss. When running the dev server, warnings about unused CSS selectors appear, such as the following one: ``` WARNING in ./src/App.svelte Module...

Fixes #459. Allows for pug template inheritance. The issue was that `extends` statements must occur first in a pug file, but the svelte mixins were being inserted at the top...

*Machine translation from Japanese to English at DeepL. #459 #572 I came up with a solution to the above Issue and PR. Use `pug-lexer` to extract the line with the...