rollup-stream-deck-package
TypeScript
[rollup][stream-deck][build-tool]
Rollup plugin to create a distribution package for Elgato Stream Deck plugins
A Rollup plugin that automates the packaging step for Elgato Stream Deck plugins. It wraps the Elgato Distribution Tool so that the .streamDeckPlugin distribution file is generated as part of your build.
Motivation
When building Stream Deck plugins, you need to run the Elgato Distribution Tool manually to package the .sdPlugin folder into a distributable .streamDeckPlugin file. I wanted to integrate that step directly into my Rollup build so the final package is produced alongside the bundled code, without an extra manual step.
Features
- Automatic packaging — generates the
.streamDeckPluginfile as part of the Rollup build - Distribution Tool wrapper — uses the official Elgato Distribution Tool under the hood
- Simple configuration — just point it to your
.sdPluginfolder - Custom output path — optionally specify where the package should be written
Getting started
npm install -D @fcannizzaro/rollup-stream-deck-package
import streamDeckPackage from "@fcannizzaro/rollup-stream-deck-package";
export default {
plugins: [
streamDeckPackage({
plugin: "./com.sample.plugin.sdPlugin",
output: "./dist",
}),
],
};