mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-23 10:18:40 +00:00
Remove deprecated theme references
This commit is contained in:
parent
f432e908f7
commit
e123fbe5bd
1 changed files with 0 additions and 7 deletions
|
|
@ -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)
|
||||
)
|
||||
|
||||
// Inject current Uppy version and sizes in website's _config.yml
|
||||
var sizes = {};
|
||||
var locations = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue