提交 6b6081f9 编写于 作者: C Catouse

* change gulpfile: fix duplicate header content in minified css file.

上级 83ee3833
......@@ -50,7 +50,7 @@ var typeSet = ['less', 'js', 'resource'],
author: pkg.author,
license: pkg.license
}),
statement = '/* Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/\n\n';
statement = '/*! Some code copy from Bootstrap v3.0.0 by @fat and @mdo. (Copyright 2013 Twitter, Inc. Licensed under http://www.apache.org/licenses/)*/\n\n';
function tryStatSync(path) {
try {
......@@ -353,7 +353,6 @@ function buildBundle(name, callback, type) {
.pipe(rename({
suffix: '.min'
}))
.pipe(header(bannerContent))
//.pipe(sourcemaps.write())
.pipe(gulp.dest(destPath))
.on('end', function() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册