|
@@ -1,15 +1,8 @@
|
|
|
var fs = require('fs')
|
|
|
var version = require('../package.json').version
|
|
|
-var themeconfPath = 'themes/uppy/_config.yml'
|
|
|
var configPath = '_config.yml'
|
|
|
-var themeconfig = fs.readFileSync(themeconfPath, 'utf-8')
|
|
|
var config = fs.readFileSync(configPath, 'utf-8')
|
|
|
|
|
|
-fs.writeFileSync(
|
|
|
- themeconfPath,
|
|
|
- themeconfig.replace(/uppy_version: .*/, 'uppy_version: ' + version)
|
|
|
-)
|
|
|
-
|
|
|
|
|
|
var sizes = {};
|
|
|
var locations = {
|