mirror of
https://github.com/SillyTavern/Extension-WebpackTemplate.git
synced 2026-10-15 13:31:53 +00:00
Template repository for UI extensions using TypeScript and Webpack.
- JavaScript 89.7%
- TypeScript 7.2%
- HTML 1.7%
- CSS 1.4%
| dist | ||
| src | ||
| .gitignore | ||
| eslint.config.mjs | ||
| globals.d.ts | ||
| LICENSE | ||
| manifest.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| webpack.config.js | ||
Extension-WebpackTemplate
Template repository for SillyTavern extensions using TypeScript and Webpack (no React).
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
manifest.jsonfile. - Write the source code in
srcdirectory. - When you're ready to test - run
npm run build. - Minimized bundle will appear in
dist, ready to be plugged into SillyTavern.
Tip
If you want to test your extension live, clone the repo into the
/public/scripts/extensions/third-partyof your SillyTavern installation.