0.2.3 • Published 4 years ago
zat-server-webpack-plugin v0.2.3
ZAT Server Webpack Plugin
Webpack plugin for Zendesk app development with Zendesk apps tools. It automatically spawns 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
npm i -D zat-server-webpack-pluginUsage
// 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:
new ZATServerPlugin({
path: "dist",
appId: 0,
unattended: undefined,
})zat server --path dist --app-id 0 --unattendedFor the full list of available options run:
zat help server