css - grunt concat_css 禁用输出

标签 css gruntjs concatenation

有没有人能告诉我如何禁用 concat css 输出?

 Running "concat_css:main" (concat_css) task
[ 'tmp/styles/custom/style.css',
  'tmp/styles/custom/style.pref.css' ] 'tmp/styles/custom.min.css'
{ path: 'tmp/styles/custom/style.css',
  css: '/ =================================\n    MIXINS\n==================================== /\n/ =================================\n    COMPONENTS / FRAMEWORKS\n==================================== /\nmeta.foundation-mq-small {\n  font-family: "only screen and (min-width: 768px)";\n  width: 768px;\n}\n\nmeta.foundation-mq-medium {\n  font-family: "only screen and (min-width:1280px)";\n  width: 1280px;\n}\n\nmeta.foundation-mq-large {\n  font-family: "only screen and (min-width:1440px)";\n  width: 1440px;\n}\n\n,\n*:before,\n*:after {\n  -moz-box-sizing: border-box;\n  -webkit-box-sizing: border-box;\n  box-sizing: border-box;\n}\n\nhtml,\nbody {\n  font-size: 100%;\n}\n\nbody {\n  background: white;\n  color: #222222;\n  padding: 0;\n  margin: 0;\n  font-family: "Helvetica Neue", "Helvetica", 

提前致谢

最佳答案

我检查了你的元素并执行了 grunt 目标在这两种情况下 gruntgrunt concat_css 我没有得到任何详细的级别输出。

下面是我在控制台中看到的消息。

Running "concat_css:vendor" (concat_css) task
[] 'tmp/styles/vendor.min.css'
File "tmp/styles/vendor.min.css" created.

Running "concat_css:main" (concat_css) task
[] 'tmp/styles/custom.min.css'
File "tmp/styles/custom.min.css" created.

Done, without errors.

Elapsed time
loading tasks    2s
concat_css:main  15ms
Total            2s

关于css - grunt concat_css 禁用输出,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19786937/

相关文章:

ruby - 如何加速sass编译?

arrays - 如何连接简单数组并在 Common Lisp 中保留元素类型 '(unsigned-bytes 8)?

python - 在Python中从多个文件夹读取多个csv文件

python - 在 Pandas 中连接两个 df

html - CSS 中水平到垂直的子菜单

html - 修复水平滚动中的列

javascript - 将指针快速移出窗口时,元素保持悬停状态

html - 为什么不源本地镜像?

javascript - 仅在最近修改的文件上运行 grunt-contrib-jshint

css - 如何在 Polymer 组件中使用 Sass