Skip to content

Commit

Permalink
update vinyl-fs for build task
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan You committed Jan 31, 2014
1 parent 0667117 commit 965b46b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"grunt-karma-coveralls": "~2.3.0",
"grunt-saucelabs": "~4.1.2",
"gulp-component": "~0.1.4",
"vinyl-fs": "git://github.com/wearefractal/vinyl-fs",
"vinyl-fs": "~0.0.2",
"jshint-stylish": "~0.1.4",
"semver": "~2.2.1",
"shell-task": "~0.1.1",
Expand Down
4 changes: 2 additions & 2 deletions tasks/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = function (grunt) {
}

function rename (file, cb) {
file.path = file.base + 'vue.min.js'
file.path = file.base + '/vue.min.js'
cb(null, file)
}

Expand All @@ -66,7 +66,7 @@ function gzip (file, cb) {
}

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

Expand Down

0 comments on commit 965b46b

Please sign in to comment.