44cff07ea1
Obsidian's plugin loader expects main.js at the plugin root alongside
manifest.json — it does not resolve subdirectory paths in the 'main'
field. Added a thin CommonJS shim that re-exports from dist/main.js.
- main.js: new entry shim (module.exports = require('./dist/main.js'))
- manifest.json: 'main' changed from 'dist/main.js' to 'main.js'
- install.sh: copy main.js shim to plugin folder, verify its presence
- README.md: add main.js to manual install instructions
17 lines
358 B
JSON
17 lines
358 B
JSON
{
|
|
"id": "ollama-plugin",
|
|
"name": "Ollama Plugin",
|
|
"version": "1.0.0",
|
|
"minAppVersion": "1.4.11",
|
|
"description": "Ollama integration plugin for Obsidian",
|
|
"author": "Anonymous",
|
|
"authorUrl": "",
|
|
"isDesktopOnly": true,
|
|
"main": "main.js",
|
|
"authorization": [],
|
|
"permissions": [],
|
|
"defaultEnabled": true,
|
|
"scripts": [],
|
|
"styles": []
|
|
}
|