MCPcopy Create free account
hub / github.com/zxlie/FeHelper / processCss

Function processCss

gulpfile.js:152–155  ·  view source on GitHub ↗
(outputDir = 'output-chrome/apps')

Source from the content-addressed store, hash-verified

150
151// 合并 & 压缩 css
152function processCss(outputDir = 'output-chrome/apps') {
153 // Keep shared CSS as @import instead of inlining Bootstrap/Codemirror into every tool page.
154 return gulp.src('apps/**/*.css').pipe(uglifycss()).pipe(gulp.dest(outputDir));
155}
156
157// 添加图片压缩任务
158function compressImages(outputDir = 'output-chrome/apps') {

Callers 3

cssChromeFunction · 0.85
cssEdgeFunction · 0.85
cssFirefoxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected