Skip to content

feat: add browser bundles and file-safe browser examples#76

Open
paulpach wants to merge 1 commit intoakonan:mainfrom
paulpach:feat/browser-client-support-75
Open

feat: add browser bundles and file-safe browser examples#76
paulpach wants to merge 1 commit intoakonan:mainfrom
paulpach:feat/browser-client-support-75

Conversation

@paulpach
Copy link

@paulpach paulpach commented Mar 17, 2026

Summary

  • add a browser-specific entrypoint and build config (src/browser.ts, vite.config.browser.ts)
  • add browser build scripts/exports in package.json
  • add browser examples and docs for client-side usage
  • make direct-open (file://) examples and test pages work via UMD (window.wiremd)
  • render previews through iframe.srcdoc so style/theme CSS applies correctly
  • improve browser editor UX (format tab readability, textarea vertical sizing)

Validation

  • npm run build
  • npm run build:browser

Closes #75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] Support running in the browser

1 participant