From ce81cc53e2dbdaf31950facdbf9880d320fc7ee7 Mon Sep 17 00:00:00 2001
From: Artur Paikin
Date: Sat, 11 Mar 2017 16:45:18 -0500
Subject: [PATCH] update Stats text, include approximate Uppy sizes when just
the necessary plugins are used
---
website/themes/uppy/layout/stats.ejs | 15 +++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)
diff --git a/website/themes/uppy/layout/stats.ejs b/website/themes/uppy/layout/stats.ejs
index feed050f9..034d04d89 100644
--- a/website/themes/uppy/layout/stats.ejs
+++ b/website/themes/uppy/layout/stats.ejs
@@ -34,13 +34,16 @@
- At this (early) stage, we’re allowing ourselves speed of development over
- lean packaging, but as Uppy matures, we’ll be using be using
- rollup.js for tree-shaking, and in addition
- we’ll be trimming away fat ourselves where we can.
- The graph below will help us discover low hanging fruit:
-
+ To keep Uppy lightweight, we’re aiming to carefully select what packages we include.
+ The graph below will help us discover low hanging fruit. Sizes and dependencies shown here
+ are for the bundled version of Uppy, which includes all plugins we offer. In production,
+ when you pick and choose just the ones you need, the size will be much smaller:
+
+ - Drag & Drop + Multipart uploads ≈
18 Kb mingz
+ - Full-featured Dashboard with image previews and progress indicators + tus resumable uploader ≈
36 Kb mingz
+
+
This graph is built with
Hugh Kennedy’s excellent