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 113 svelte-preprocess issues
Sort by recently updated
recently updated
newest added
trafficstars

List of changes we want to do in the next major release: - remove the default export - remove the default exports from the preprocess files - think about deprecating...

next-major

- global for style tags - src for script/style tags fixes #652 @dominikg does this fix the v-p-s issue? ### Before submitting the PR, please make sure you do the...

**Describe the bug** A recent change in svelte5 made attributes on protected. Proprocessors using custom attributes must remove them to avoid warnings ``` /home/dominikg/develop/sveltejs/vite-plugin-svelte/packages/e2e-tests/svelte-preprocess/src/lib/multifile/MultiFile.svelte 2:19 error Unrecognized attribute — should...

**Describe the bug** Sass option quietDeps does not seem to work. When setting this true I'll still see deprecation warnings in console output **Logs** ``` Deprecation Warning: Sass's behavior for...

**Describe the bug** Using svelte-preprocess with Svelte 5 and importing a Svelte 5 component from an npm package triggers an error: ```'p' has already been declared``` **Detailed error with a...

From https://github.com/sveltejs/svelte/issues/15782 If `tsconfig.json` does not contain `compilerOptions` and instead references other tsconfigs, svelte-preprocess fails to get the actual TS configs. In particular, it results in the fallbacked target ES2015,...

**Describe the bug** Uninstalled optional peer dependencies such as 'pug' causes the following error during type checking with `tsc` ``` error TS2307: Cannot find module 'pug' or its corresponding type...

**Describe the bug** ``` [ERROR] [svelte-preprocess] Encountered type error [plugin esbuild-svelte] node_modules/runed/dist/utilities/debounced/index.js:1:14: 1 │ export * from "./debounced.svelte.js"; ╵ ~~~~~~~~~~~~~~~~~~~~~~~ ``` **To Reproduce** Using [shadcn-svelte ](https://github.com/huntabyte/shadcn-svelte)with [live_svelte](https://github.com/woutdp/live_svelte) and when running...

**Describe the bug** ```js import { preprocess } from 'svelte/compiler'; import { sveltePreprocess } from 'svelte-preprocess'; const preprocessed = await preprocess(source, sveltePreprocess()); const ast = svelte.compile(preprocessed.code); ``` Is it allowed...

Currently, Pug syntax embedded in Svelte template tags requires quoted values, enclosing Javascript expressions in braces: ```pug body p(class:name!="{highlighted}") Example ``` This isn't a Pug requirement. The following Pug syntax...