A starter template for creating an Obsidian plugin with PreactJS.
This project comes preconfigured with Typescript, Babel, and Rollup.js.
Click "use this template" to create your own fork of this repo. Make sure to reference the official sample plugin for information about how to get started with the Obsidian API and how to submit your plugin to the Community Plugin Gallery.
# for local development
npm install
npm run dev
# for a production bundle
npm install
npm run build
The production output of this sample plugin is ~13 KB.