swissspidy / media-experiments

WordPress media experiments
GNU General Public License v2.0
72 stars 1 forks source link

Move functions out of `media-utils` #562

Closed swissspidy closed 1 month ago

swissspidy commented 1 month ago

First step for #561, moving all existing functions out of the media-utils package so that in the next step it can house the same things as @wordpress/media-utils.

In this repo, only the editor package would depend on media-utils.

upload-media is something for the block-editor package, just holding the queue, nothing else.

github-actions[bot] commented 1 month ago

Size Change: -277 B (-0.01%)

Total Size: 3.02 MB

Filename Size Change
build/media-experiments.js 69 kB -213 B (-0.31%)
build/view-upload-request.js 17.5 kB -100 B (-0.57%)
ℹ️ View Unchanged | Filename | Size | Change | | | :--- | :---: | :---: | :---: | | `build/100.js` | 88.3 kB | 0 B | | | `build/699.js` | 2.35 MB | 0 B | | | `build/blurhash.worker.js` | 3.23 kB | 0 B | | | `build/canvas.worker.js` | 2.79 kB | 0 B | | | `build/chunk-ffmpeg.js` | 5.91 kB | 0 B | | | `build/chunk-selfie-segmentation.js` | 16.3 kB | 0 B | | | `build/dominant-color.worker.js` | 4.45 kB | 0 B | | | `build/ffmpeg.js` | 1.1 kB | -9 B (-0.81%) | | | `build/heif.worker.js` | 422 kB | 0 B | | | `build/media-experiments-blocks-rtl.css` | 297 B | 0 B | | | `build/media-experiments-blocks.css` | 296 B | 0 B | | | `build/media-experiments-rtl.css` | 885 B | 0 B | | | `build/media-experiments.css` | 885 B | 0 B | | | `build/pdf.js` | 578 B | +60 B (+11.58%) | ⚠️ | | `build/subtitles.js` | 848 B | -12 B (-1.4%) | | | `build/view-upload-request-view-rtl.css` | 716 B | 0 B | | | `build/view-upload-request-view.css` | 717 B | 0 B | | | `build/vips.worker.js` | 42.7 kB | -3 B (-0.01%) | |

compressed-size-action