Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
/ svelte-packagr Public archive

A CLI for building component libraries with Svelte

License

Notifications You must be signed in to change notification settings

YogliB/svelte-packagr

Repository files navigation

Frozen

This project is frozen for now, I may or may not return to this in the future.

svelte-packagr

A simple CLI for building svelte packages

Disclaimer: Notice we didn't hit version 1 just yet, and the API may change

npm package version Contributor Covenant PRs Welcome

Instalation

npm install -g svelte-packagr

Usage

Long way:

svelte-packagr --input ./src/MyComponent.svelte --output ./dist

Shorthand:

svp -i ./src/MyComponent.svelte --o ./dist

See all options

Run:

svp --help

or go here.