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

**Is your feature request related to a problem? Please describe.** VSCode automatically inserts a type import into the import-brackets when using autocomplete (valid TS syntax) ```svelte import { my_store, type...

**Describe the bug** when attempting to type check `svelte.config.js` with typescript, i get the following error: ``` > tsc -p tsconfig.json node_modules/svelte-preprocess/dist/types/options.d.ts:4:55 - error TS7016: Could not find a declaration...

**Problem** Using the `global` attribute on a style block will prevent any use of composed CSS selectors inside it. Markup as simple as the following will trigger the error. ```svelte...

### Before submitting the PR, please make sure you do the following - [x] It's really useful if your PR relates to an outstanding issue, so please reference it in...

**Describe the bug** When importing a typescript file from a .svelte file that is not included in the tsconfig. The compiler gives the error `Unexpected token`. It does not know...

**Is your feature request related to a problem? Please describe.** `yarn install` fails on modern node versions. https://sass-lang.com/blog/libsass-is-deprecated **Describe the solution you'd like** 'sass' (dart-sass) is the recommended successor. Which...

When importing scss files from `node_modules`, like so in my `__layout.svelte` file: ```html @use '~@material/button/styles.scss'; ... ``` I get the error `Error: Can't find stylesheet to import.` if the file...

**Describe the bug** I would expect to have support for TypeScript syntax inside markup, but it doesn't work. Example: ```svelte let something: string | null = "hi"; {something!.toUpperCase()} ``` **To...

enhancement
blocked-by-another-issue

**Describe the bug** Upgrading from 4.9.5 to 4.10.1, a new bug seems to appear with TypeScript classes resulting in svelte-preprocess to return unexpected token errors. Currently to prevent this issue,...

**Is your feature request related to a problem? Please describe.** The ability to only parse is already implemented, but I can't set it to ONLY do ``. It seems while...

enhancement
help wanted