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.** Tries to tackle https://github.com/sveltejs/component-template/issues/8 and #255. **Describe the solution you'd like** A tiny CLI (possibly using `sade`) to preprocess invalid...
**Describe the bug** Errors recieved when trying to add an external script with a get variable attached in svelte:head **This is most likely a bug in the automatic language recognition...
**Describe the bug** when i trying to import all SCSS files in a sub-folder ```scss @import 'components/**/*.scss'; ``` i get this error message : `File to import not found or...
_Originally posted by @kaisermann in https://github.com/sveltejs/svelte-preprocess/issues/305#issuecomment-772765516_ In auto preprocess mode, we currently error out if the lib encounters an unknown language/transformer. We could just skip instead and let another preprocessor...
**Describe the bug** As you can see in the screenshot below, the Svelte VSCode extension does not see that `Router` and `Nested` are used inside ``. It does however detect...
**Describe the bug** Google recommends using schema.org JSON-LD markup so that they can better understand your website, but `svelte-preprocess` barfs upon encountering it **Logs** The error was encountered at: ```...
**Describe the bug** Importing SCSS from Node.js modules does not work with Yarn 2. ```svelte @import "demo-scss-npm-module"; ``` Yields: ```text Error: Can't find stylesheet to import. ╷ 2 │ @import...
**Describe the bug** When inserting a script in the HTML with `type="module"`, the auto preprocessor will try to load a transformer for it (`./transformers/module`), which of course does not exist....
In my project, I have `mobile.scss` next to each component and this kind of file structure: ```svelte +Component(folder) ++Component.svelte ++mobile.scss +Component2(folder) ++Component2.svelte ++mobile.scss ``` I would like to have `@import...
**Is your feature request related to a problem? Please describe.** svelte-preprocess utilizes the `lang` attribute to identify the languages used, but leaves them in the output after preprocessing. **Describe the...