mirror of
https://github.com/svemagie/obsidian-micropub.git
synced 2026-05-14 19:38:50 +02:00
2b2e5f33bf
- Add IndieAuth.ts: full PKCE sign-in flow via GitHub Pages relay - Add docs/index.html: client_id page fetched by IndieKit for app info - Add docs/callback/index.html: relay that forwards to obsidian:// URI - Update SettingsTab.ts: signed-in/signed-out UI, Sign In button - Update types.ts: authorizationEndpoint, tokenEndpoint, me fields - Update main.ts: register obsidian://micropub-auth protocol handler
14 lines
269 B
JavaScript
14 lines
269 B
JavaScript
import copy from "rollup-plugin-copy"
|
|
|
|
export default {
|
|
input: "index.js",
|
|
output: {
|
|
file: "dist/index.cjs",
|
|
format: "cjs",
|
|
exports: "default"
|
|
},
|
|
plugins: [
|
|
copy({targets: [{src: "index.d.ts", dest: "dist", rename: () => "index.d.cts"}]})
|
|
]
|
|
}
|