plugin_list.ejs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <h2 id="package-list">List of Uppy Packages</h2>
  2. <p>Below is the list of Uppy packages, and their minified and gzipped sizes.</p>
  3. <small>
  4. ⚠️ Note that this includes the dependencies for each package, some of which are shared when you install multiple plugins. For example, the <code>@uppy/dropbox</code> and <code>@uppy/instagram</code> package are both over 11kB including dependencies, but only sum up to about 15kB when they are used together.
  5. </small>
  6. <table class="Stats-bundleSizes">
  7. <thead>
  8. <tr>
  9. <th class="Stats-bundleSizeHeader">Package</th>
  10. <th class="Stats-bundleSizeHeader">Version</th>
  11. <th class="Stats-bundleSizeHeader">Minified</th>
  12. <th class="Stats-bundleSizeHeader">Gzip</th>
  13. </tr>
  14. </thead>
  15. <tbody>
  16. <% for (const [name, sizes] of Object.entries(theme.uppy_bundle_kb_sizes)) { %>
  17. <% const { minified, gzipped, prettyMinified, prettyGzipped, version } = sizes %>
  18. <tr>
  19. <td><a class="Stats-package" target="_blank" href="https://npmjs.com/package/<%= name %>"><%= name %></a></td>
  20. <td><%= version %></td>
  21. <td><%= prettyMinified %></td>
  22. <td class="
  23. <% if (gzipped > 30 * 1000) { %>Stats-large<% } %>
  24. <% if (gzipped < 10 * 1000) { %>Stats-small<% } %>
  25. ">
  26. <%= prettyGzipped %>
  27. </td>
  28. </tr>
  29. <% } %>
  30. </tbody>
  31. </table>
  32. <iframe scrolling="no" seamless="seamless" class="Disc" src="/disc.html"></iframe>
  33. <p>
  34. This graph is built with
  35. <a href="https://twitter.com/hughskennedy">Hugh Kennedy</a>’s excellent
  36. <a href="http://hughsk.io/disc/">disc</a>.
  37. </p>
  38. <h2 id="browser-support">Browser Support</h2>
  39. <p>
  40. <a href="https://saucelabs.com/u/transloadit-uppy">
  41. <img src="https://saucelabs.com/browser-matrix/transloadit-uppy.svg" alt="Sauce Test Status"/>
  42. </a>
  43. </p>
  44. <p>We currently aim to support IE11+ and recent versions of Safari, Edge, Chrome, Firefox and Opera.</p>
  45. <p>We still run end to end tests with IE10, but we are not actively supporting it or fixing visual / minor issues.</p>