Closed
Description
Describe the bug
Currently, when we have prependData
option of scss
preprocessor, the lang
type of <style>
is not being respected, the prependData
are being injected ignoring the lang
type. The prependData
logic should be executed only when lang="scss"
or lang="sass"
.
To Reproduce
https://github.com/maykefreitas/svelte-preprocess-example
Expected behavior
The expected behavior would be to not inject prependData
unless the style
tag has lang="scss"
.
Information about your project:
- svelte-preprocess version: latest
The cause of this bug is the fact that this logic should be executed after the if
declaration, not before.
Metadata
Metadata
Assignees
Labels
No labels