Skip to content

CLI for preprocessing svelte files #256

Closed
@kaisermann

Description

@kaisermann

Is your feature request related to a problem? Please describe.
Tries to tackle sveltejs/component-template#8 and #255.

Describe the solution you'd like
A tiny CLI (possibly using sade) to preprocess invalid .svelte files, which are files written in languages other than JS, CSS, and HTML, into valid .svelte files. This is especially useful for library authors that want to write their components using some custom language such as SASS or TypeScript.

$ npx svelte-preprocess --src=/ --out=dist/

Describe alternatives you've considered

sveltejs/component-template#31

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions