# rollup-plugin-svelte-hot

> Compile Svelte components with HMR support for Rollup or Nollup

Latest version **1.0.0-8** (published 2021-05-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install rollup-plugin-svelte-hot
pnpm add rollup-plugin-svelte-hot
yarn add rollup-plugin-svelte-hot
bun add rollup-plugin-svelte-hot
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0-8 |
| Published | 2021-05-13 |
| First published | 2019-10-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 3 |
| Unpacked size | 23.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Rich Harris |
| Maintainers | rixo |
| Keywords | svelte, hot, hmr, nollup, rollup |

## Links

- npm: https://www.npmjs.com/package/rollup-plugin-svelte-hot
- Homepage: https://github.com/rixo/rollup-plugin-svelte
- Issues: https://github.com/rixo/rollup-plugin-svelte-hot/issues
- npm.io page: https://npm.io/package/rollup-plugin-svelte-hot

## Dependencies (3)

- [svelte-hmr](https://npm.io/package/svelte-hmr.md) ^0.14.3
- [require-relative](https://npm.io/package/require-relative.md) ^0.8.7
- [@rollup/pluginutils](https://npm.io/package/@rollup/pluginutils.md) ^4.1.0

## Alternatives

- [raw-loader](https://npm.io/package/raw-loader.md) — 4.3M weekly downloads
- [plop](https://npm.io/package/plop.md) — 1.4M weekly downloads
- [webpack-deadcode-plugin](https://npm.io/package/webpack-deadcode-plugin.md) — 80.3K weekly downloads
- [@storybook/preact-vite](https://npm.io/package/@storybook/preact-vite.md) — 54.2K weekly downloads
- [vite-plugin-transform](https://npm.io/package/vite-plugin-transform.md) — 2.4K weekly downloads

## Recent versions

- 1.0.0-8 (latest) — 2021-05-13
- 0.14.1 (legacy) — 2021-07-16
- 0.14.0 — 2021-07-16
- 1.0.0-7 — 2021-05-11
- 1.0.0-6 — 2021-03-04
- 1.0.0-5 — 2021-03-04
- 1.0.0-4 — 2021-03-04
- 1.0.0-3 — 2021-02-28
- 1.0.0-2 — 2021-02-28
- 1.0.0-1 — 2021-02-26
- 1.0.0-0 — 2021-02-26
- 0.13.0 — 2020-11-27
- 0.13.0-0 — 2020-11-27
- 0.12.0-0 — 2020-11-19
- 0.11.2 — 2020-11-15
- … 62 more at https://npm.io/package/rollup-plugin-svelte-hot/versions

## README

# rollup-plugin-svelte-hot

This is a fork of official [rollup-plugin-svelte](https://github.com/rollup/rollup-plugin-svelte) with added HMR support.

It supports HMR both with [Nollup](https://github.com/PepsRyuu/nollup), or [Rollup](https://github.com/rollup/rollup) with (experimental) [rollup-plugin-hot](https://github.com/rixo/rollup-plugin-hot).

## TODO

A new version of this plugin has been published to close the gap in API with rollup-plugin-svelte@7+.

README needs to be reviewed and updated, with new API from [last versions of rollup-plugin-svelte](https://github.com/sveltejs/rollup-plugin-svelte/blob/master/README.md).

Please refer to the [legacy README](https://github.com/rixo/rollup-plugin-svelte-hot/blob/v0/README.md) for information about the previous versions of this plugin (that supports rollup-plugin-svelte v4-5 API).

---
_Source: https://npm.io/package/rollup-plugin-svelte-hot · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
