Skip to content

Commit 965b46b

Browse files
author
Evan You
committed
update vinyl-fs for build task
1 parent 0667117 commit 965b46b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"grunt-karma-coveralls": "~2.3.0",
3131
"grunt-saucelabs": "~4.1.2",
3232
"gulp-component": "~0.1.4",
33-
"vinyl-fs": "git://github.com/wearefractal/vinyl-fs",
33+
"vinyl-fs": "~0.0.2",
3434
"jshint-stylish": "~0.1.4",
3535
"semver": "~2.2.1",
3636
"shell-task": "~0.1.1",

tasks/build.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ module.exports = function (grunt) {
4141
}
4242

4343
function rename (file, cb) {
44-
file.path = file.base + 'vue.min.js'
44+
file.path = file.base + '/vue.min.js'
4545
cb(null, file)
4646
}
4747

@@ -66,7 +66,7 @@ function gzip (file, cb) {
6666
}
6767

6868
function size (file, cb) {
69-
console.log(blue(file.relative + ': ') + (file.contents.length / 1024).toFixed(2) + 'kb')
69+
console.log(blue(dest + '/' + file.relative + ': ') + (file.contents.length / 1024).toFixed(2) + 'kb')
7070
cb(null, file)
7171
}
7272

0 commit comments

Comments
 (0)