Browse Source

website: use html + add thumbnail-generator to bundle sizes

Renée Kooi 6 năm trước cách đây
mục cha
commit
f5824fb390
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 1 1
      website/themes/uppy/layout/stats.ejs
  2. 1 0
      website/update.js

+ 1 - 1
website/themes/uppy/layout/stats.ejs

@@ -22,7 +22,7 @@
 
   <h2 id="bundle-sizes">Bundle Sizes</h2>
   <p>
-    Below are the minified and gzipped sizes for each Uppy package. Note that this includes the dependencies for each package, some of which are shared when you install multiple plugins—for example, the `@uppy/dropbox` and `@uppy/instagram` package are both over 11kB including dependencies, but only sum up to about 15kB when they are used together.
+    Below are the minified and gzipped sizes for each Uppy package. 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.
   </p>
   <table class="Stats-bundleSizes">
     <thead>

+ 1 - 0
website/update.js

@@ -46,6 +46,7 @@ const packages = [
   '@uppy/form',
   '@uppy/golden-retriever',
   '@uppy/react',
+  '@uppy/thumbnail-generator',
   '@uppy/store-default',
   '@uppy/store-redux'
 ]