Skip to content

Commit bd53abd

Browse files
yyx990803kazupon
authored andcommitted
include ro_gz_size in update.js
NOTE: pick up from e484013388f6b7a53f42b1a5150ba0e50e398a33
1 parent c3eaadf commit bd53abd

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

src/guide/installation.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
title: インストール
33
type: guide
44
order: 1
5-
vue_version: 2.0.0-rc.6
6-
dev_size: "184"
7-
min_size: "64"
8-
gz_size: "22"
9-
ro_gz_size: "16"
5+
vue_version: 2.0.5
6+
dev_size: "194.65"
7+
min_size: "64.28"
8+
gz_size: "23.55"
9+
ro_gz_size: "16.39"
1010
---
1111

1212
### 互換性の注意

update.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var fs = require('fs')
22
var version = require('../vue/package.json').version
33
var themeconfPath = 'themes/vue/_config.yml'
4-
var installPath = 'src/guide/installation.md'
4+
var installPath = 'src/v2/guide/installation.md'
55
var themeconfig = fs.readFileSync(themeconfPath, 'utf-8')
66
var installation = fs.readFileSync(installPath, 'utf-8')
77

@@ -13,7 +13,8 @@ fs.writeFileSync(
1313
var sizes = {
1414
dev: 'vue.js',
1515
min: 'vue.min.js',
16-
gz: 'vue.min.js.gz'
16+
gz: 'vue.min.js.gz',
17+
ro_gz: 'vue.common.min.js.gz'
1718
}
1819

1920
for (var file in sizes) {

0 commit comments

Comments
 (0)