# rollup-plugin-svelte-draft

Transcribe SvelteDraft components with Rollup

## Installing

```shell
npm i -D rollup-plugin-svelte-draft
```

## Usage

1. [add it before svelte plugin](https://github.com/mistlog/svelte-draft-template/commit/e8c2512a929df9f73f5310dbd4fc27fb24cc7e40#diff-ff6e5f22a9c7e66987b19c0199636480R19)
2. [change "extensions" and "include" of svelte plugin](https://github.com/mistlog/svelte-draft-template/commit/e8c2512a929df9f73f5310dbd4fc27fb24cc7e40#diff-ff6e5f22a9c7e66987b19c0199636480R22)

see example in [svelte-draft-template](https://github.com/mistlog/svelte-draft-template/blob/master/rollup.config.js#L19).

## License

This project is [MIT licensed](https://github.com/mistlog/rollup-plugin-svelte-draft/blob/master/LICENSE).