node.js - grunt-contrib-cssmin combine doesn't combine? -
i've written simple gruntfile.js combine 2 css files 1 using grunt-contrib-cssmin.
module.exports = function (grunt) { grunt.initconfig({ cssmin: { combine: { files: { 'public/css/test.css': ['public/css/**/*.css'] } } } }); grunt.loadnpmtasks('grunt-contrib-cssmin'); };
when run grunt cssmin --verbose
output ends
running "cssmin:combine" (cssmin) task verifying property cssmin.combine exists in config...ok files: public/css/cart.css, public/css/main.css -> public/css/test.css options: report="min" reading public/css/cart.css...ok reading public/css/main.css...ok
after terminal hangs , node process keeps using 100% of cpu not produce output file.
extra info: i'm working on express + nodejs project.
system info mac osx 10.9.5
output of these commands:
grunt --version && node --version && npm --version
grunt-cli v0.1.13 grunt v0.4.5 v0.10.32 1.4.28
node.js express gruntjs grunt-contrib-cssmin
No comments:
Post a Comment