0
Grunt新手在這裏。我在運行grunt任務grunt-contrib-cssmin時收到以下錯誤。該Modernizr的任務似乎是工作:運行grunt插件時出錯grunt-contrib-cssmin
Running "cssmin:target" (cssmin) task
Warning: pattern.indexOf is not a function Use --force to continue.
這裏是我的gruntfile.js
,這裏是我的package.json文件,我有咕嚕-的contrib CSS的安裝在項目目錄
{
"name": "bootstrap-wp-less",
"version": "1.0.0",
"description": "No desc",
"main": "index.js",
"scripts": {
"test": "test"
},
"author": "Me",
"license": "ISC",
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-cssmin": "^0.14.0",
"grunt-modernizr-builder": "^0.1.7"
}
}