Browse Source

Use a single build for all variations in filesizes for now

Kevin van Zonneveld 9 years ago
parent
commit
aa9c69eff2
2 changed files with 6 additions and 5 deletions
  1. 2 2
      website/_config.yml
  2. 4 3
      website/update.js

+ 2 - 2
website/_config.yml

@@ -4,9 +4,9 @@
 
 # Uppy versions, auto updated by update.js
 uppy_version: 0.0.1
-uppy_dev_size: "99999"
+uppy_dev_size: "16.62"
 uppy_min_size: "16.62"
-uppy_gz_size: "99999"
+uppy_gz_size: "16.62"
 
 # Theme
 google_analytics: UA-63083-12

+ 4 - 3
website/update.js

@@ -10,10 +10,11 @@ fs.writeFileSync(
   themeconfig.replace(/uppy_version: .*/, 'uppy_version: ' + version)
 )
 
+// @todo: Refer to actual minified builds in dist:
 var sizes = {
-  min: '../dist/uppy.min.js',
-  // gz : '../dist/uppy.min.js.gz',
-  // dev: '../dist/uppy.js'
+  min: '../dist/uppy.js',
+  gz : '../dist/uppy.js',
+  dev: '../dist/uppy.js'
 }
 
 for (var file in sizes) {