Hey Alex, check out this changeset https://hg.mozilla.org/mozilla-central/rev/6070f05ecffa46451670c0daa47148c3e7612a43 and in particular the change on ort-dev.js https://hg.mozilla.org/mozilla-central/diff/6070f05ecffa46451670c0daa47148c3e7612a43/toolkit/components/ml/vendor/ort-dev.js I removed the map data at the end of the file, reducing its size from 3.8MiB to 1.3MiB: ``` ➜ dist git:(main) ✗ ls -lah ort-dev.js -rw-r--r-- 1 tarekziade staff 3.8M Oct 26 1985 ort-dev.js ➜ dist git:(main) ✗ sed -i '' '1855,1859d' ort-dev.js -rw-r--r-- 1 tarekziade staff 3.8M May 2 14:13 ort-dev.js ➜ dist git:(main) ✗ sed -i '' '$d' ort-dev.js ➜ dist git:(main) ✗ ls -lah ort-dev.js -rw-r--r-- 1 tarekziade staff 1.3M May 2 14:14 ort-dev.js ```
Bug 1887824 Comment 9 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Hey Alex, check out this changeset https://hg.mozilla.org/mozilla-central/rev/6070f05ecffa46451670c0daa47148c3e7612a43 and in particular the change on ort-dev.js https://hg.mozilla.org/mozilla-central/diff/6070f05ecffa46451670c0daa47148c3e7612a43/toolkit/components/ml/vendor/ort-dev.js I removed the map data at the end of the file, reducing its size from 3.8MiB to 1.3MiB: ``` ➜ dist git:(main) ✗ ls -lah ort-dev.js -rw-r--r-- 1 tarekziade staff 3.8M Oct 26 1985 ort-dev.js ➜ dist git:(main) ✗ sed -i '' '1855,1859d' ort-dev.js ➜ dist git:(main) ✗ sed -i '' '$d' ort-dev.js ➜ dist git:(main) ✗ ls -lah ort-dev.js -rw-r--r-- 1 tarekziade staff 1.3M May 2 14:14 ort-dev.js ```