During local development, the REPL compiler requests library files from the local dist
folder when they are imported. To serve these, run the local.js
script.
pnpm local
When you edit a component's description or props, you need to regenerate componentProps.ts
.
read_props.js
reads all the library files and generates props to display in the docs from the AST. Running
pnpm props
will read the props and write componentProps.ts
.
Running:
pnpm package
will write the props and generate the library Svelte files.