mirror of
https://github.com/desktop/desktop
synced 2024-09-18 07:32:01 +00:00
Well that's not at all confusing
This commit is contained in:
parent
94b800ce25
commit
c3a519c7a8
|
@ -15,6 +15,7 @@ import {
|
|||
getIconFileName,
|
||||
isPublishable,
|
||||
getBundleSizes,
|
||||
getDistRoot,
|
||||
} from './dist-info'
|
||||
import { isGitHubActions } from './build-platforms'
|
||||
import { existsSync, rmSync, writeFileSync } from 'fs'
|
||||
|
@ -34,8 +35,9 @@ if (process.platform === 'darwin') {
|
|||
process.exit(1)
|
||||
}
|
||||
|
||||
console.log('Writing bundle size info…')
|
||||
writeFileSync(
|
||||
path.join(getDistPath(), 'bundle-size.json'),
|
||||
path.join(getDistRoot(), 'bundle-size.json'),
|
||||
JSON.stringify(getBundleSizes())
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue