# webpack-plugin-spark

> Serve spark UI with hot reloading

Latest version **1.0.3** (published 2019-07-24) · ISC license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install webpack-plugin-spark
pnpm add webpack-plugin-spark
yarn add webpack-plugin-spark
bun add webpack-plugin-spark
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2019-07-24 |
| First published | 2019-06-12 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 14.2 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Yousee |
| Maintainers | tvlabweb |
| Keywords | rdk, spark, ui, webpack, hot, reload, serve |

## Links

- npm: https://www.npmjs.com/package/webpack-plugin-spark
- Repository: https://github.com/YouSee/webpack-plugin-spark
- Homepage: https://github.com/YouSee/webpack-plugin-spark#readme
- Issues: https://github.com/YouSee/webpack-plugin-spark/issues
- npm.io page: https://npm.io/package/webpack-plugin-spark

## Dependencies (4)

- [ws](https://npm.io/package/ws.md) ^7.0.0
- [joi](https://npm.io/package/joi.md) ^14.3.1
- [chalk](https://npm.io/package/chalk.md) ^2.4.2
- [express](https://npm.io/package/express.md) ^4.17.1

## 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.3 (latest) — 2019-07-24
- 1.0.2 — 2019-07-24
- 1.0.1 — 2019-06-13
- 1.0.0 — 2019-06-12

## README

# webpack-plugin-spark
Webpack plugin for Spark UI development

## Description
This webpack plugin enables use of hot reloading when developing apps for the Spark UI browser: https://www.sparkui.org

## Demo
<img src="images/demo.gif" />

## Install

Using npm:

```console
npm install webpack-nano webpack-plugin-spark --save-dev
```

## Usage
Create a `webpack.config.js` file:

```js
const WebpackPluginSpark = require('webpack-plugin-spark');
const path = require('path');

module.exports = {
	// an example entry definition
	entry: [
		'app.js',
	]
  ...
  plugins: [
    new WebpackPluginSpark({
      progress: true,
      liveReload: true,
      static: path.join(__dirname, './dist')
    })
  ],
  watch: true, // Ensure webpack is running in watch mode
};

```

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