mirror of
https://github.com/SillyTavern/Plugin-WebpackTemplate.git
synced 2026-10-15 13:31:54 +00:00
Template repository for server plugins using TypeScript and Webpack.
- TypeScript 61.9%
- JavaScript 38.1%
| dist | ||
| src | ||
| .eslintrc.js | ||
| .gitignore | ||
| LICENSE | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| webpack.config.js | ||
Plugin-WebpackTemplate
Template repository for server plugins using TypeScript and Webpack.
How to use
- Click "Use this template" on the GitHub page.
- Create a new repository and clone it to your local machine.
- Open the repository in your code editor and run
npm install. - Edit the
package.jsonfile. - Write the source code in the
srcdirectory. - When you're ready to test - run
npm run build. - A minimized bundle will appear in
dist, ready to be plugged into SillyTavern.
Tip
If you want to test your plugin live, clone the repo into the
/pluginsfolder of your SillyTavern installation.