Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run preprocessors on svelte components when using svelte-kit package #1717

Closed
AsyncBanana opened this issue Jun 20, 2021 · 0 comments · Fixed by #1646
Closed

Run preprocessors on svelte components when using svelte-kit package #1717

AsyncBanana opened this issue Jun 20, 2021 · 0 comments · Fixed by #1646
Labels
feature / enhancement New feature or request
Milestone

Comments

@AsyncBanana
Copy link

Is your feature request related to a problem? Please describe.
Running svelte-kit package does not run preprocessors, which makes things like PostCSS unable to work.

Describe the solution you'd like
svelte-kit package should run the preprocessors specified in svelte.config.js in .svelte files like svelte-kit build does.

Describe alternatives you've considered
Manually copying over the files, or coding a script to do it.

How important is this feature to you?
It is very important because I like using svelte-kit package much more than plain Svelte setups for libraries. I like it more because it removes the need to set up build tools and includes a way to easily test and build a documentation website. Unfortunately, I am unable to use it efficiently because my CSS can't compile automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature / enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants