tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

README.md (1341B)


ProseMirror vendoring

This directory vendors a ProseMirror bundle. Individual ProseMirror packages are vendored into subfolders. The bundle is built by Rollup from the entry point in bundle_entry.mjs and exported via moz.build.

Updating the bundle

Using moz.sh

To vendor all packages and rebuild the bundle at once you can run:

./third_party/js/prosemirror/moz.sh [--mach-vendor-flags]

--mach-vendor-flags: Any mach vendor flags (like --ignore-modified, --force, etc.) will be passed along to each vendoring operation.

The script:

Manual options

  1. Rebuild the bundle by running make_bundle.sh
  2. Rebuild the bundle by running make_bundle.sh

After vendoring, commit the updated files.

Development notes