Commit 5f9387c
committed
feat: add @hackmd/ot package and integrate operational transformation
- Added @hackmd/ot as a dependency in package.json.
- Created a patch to modify the scriptsDir export in @hackmd/ot to prevent it from being used directly.
- Updated public/js/index.js to import the OT library from @hackmd/ot and ensure proper usage of the global 'ot' object.
- Modified vite.config.js to define __dirname for browser compatibility and explicitly include OT files in the build.1 parent e710517 commit 5f9387c
File tree
6 files changed
+1099
-116
lines changed- locales
- patches
- public/js
6 files changed
+1099
-116
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
121 | 142 | | |
0 commit comments