-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Description
Feature Request: Add Bun runtime support as an alternative to Node.js
Summary
Add official support for Bun as an alternative JavaScript runtime for building Obsidian plugins.
Motivation
- I already have Bun installed, but not Node
Proposed Changes
Minimal modifications to enable Bun support:
- package.json: Update scripts (dev, build) to enable the possibility to use Bun instead of Node
- .gitignore: Include
bun.lockb. - README.md / AGENTS.md: Document Bun as an alternative option
Implementation
I'm going to prepare a PR with these changes: #172
I'm also building a real plugin using this Bun-enabled template. Will report results here.
Notes
- This should not replace Node.js - it's purely additive
- All existing documentation and workflows remain valid, although the idea is to document the possibility of using Bun instead of node
- Developers can choose whichever runtime they prefer
- The Obsidian API is unaffected since it runs in Electron, not Node/Bun
I would like to hear the team's thoughts on this! Happy to adjust the approach based on feedback.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels