# zat-server-webpack-plugin

> Webpack plugin for Zendesk app development with ZAT server

Latest version **0.2.3** (published 2021-09-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install zat-server-webpack-plugin
pnpm add zat-server-webpack-plugin
yarn add zat-server-webpack-plugin
bun add zat-server-webpack-plugin
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.3 |
| Published | 2021-09-08 |
| First published | 2021-07-23 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=12.0 |
| Dependencies | 0 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Luka Maljic |
| Maintainers | malj |
| Keywords | zendesk, zat, server, webpack, plugin |

## Links

- npm: https://www.npmjs.com/package/zat-server-webpack-plugin
- Repository: https://github.com/malj/zat-server-webpack-plugin
- Homepage: https://github.com/malj/zat-server-webpack-plugin#readme
- Issues: https://github.com/malj/zat-server-webpack-plugin/issues
- Funding: https://paypal.me/lukamaljic
- npm.io page: https://npm.io/package/zat-server-webpack-plugin

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 0.2.3 (latest) — 2021-09-08
- 0.2.2 — 2021-08-29
- 0.2.1 — 2021-08-28
- 0.2.0 — 2021-08-09
- 0.1.0 — 2021-07-23

## README

# ZAT Server Webpack Plugin

Webpack plugin for Zendesk app development with [Zendesk apps tools](https://developer.zendesk.com/documentation/apps/app-developer-guide/zat). It automatically spawns [ZAT server](https://developer.zendesk.com/documentation/apps/app-developer-guide/zat/#server), and restarts it when its config file or app manifest change.

Requires `zat` installed and available on PATH: https://developer.zendesk.com/documentation/apps/zendesk-app-tools-zat/installing-and-using-the-zendesk-apps-tools

## Installation

```sh
npm i -D zat-server-webpack-plugin
```

## Usage

```js
// webpack dev config

const ZATServerPlugin = require("zat-server-webpack-plugin")

module.exports = {
    mode: "development",
    plugins: [new ZATServerPlugin(options)],
}
```

### Options

Any provided options are parsed and passed them directly as `zat` args:

```js
new ZATServerPlugin({
    path: "dist",
    appId: 0,
    unattended: undefined,
})
```

```sh
zat server --path dist --app-id 0 --unattended
```

For the full list of available options run:

```sh
zat help server
```

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