A template for creating plugins for Stash using the native plugin API.
- Run
npm install
to install dependencies. - Update the
pluginID
inwebpack.common.js
. - Update
./src/source.yml
with your plugin details. - Delete the
settings
section from./src/source.yml
if you don't plan to allow your user to configure the plugin.
Script | Description |
---|---|
build |
Generates a minified production bundle using Webpack. |
dev |
Generates a development bundle using Webpack. |
start |
Same as watch. |
watch |
Generates a development bundle using Webpack and watches for changes. |