mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Removed incorrect comments in Gulpfile.js.
This commit is contained in:
+7
-9
@@ -140,11 +140,10 @@ function buildCssPipeline(assetGroup, doConcat, doRebuild) {
|
|||||||
.pipe(gulpif(generateSourceMaps, sourcemaps.init()))
|
.pipe(gulpif(generateSourceMaps, sourcemaps.init()))
|
||||||
.pipe(gulpif("*.less", less()))
|
.pipe(gulpif("*.less", less()))
|
||||||
.pipe(gulpif("*.scss", sass({
|
.pipe(gulpif("*.scss", sass({
|
||||||
precision: 10
|
precision: 10
|
||||||
})))
|
})))
|
||||||
.pipe(gulpif(doConcat, concat(assetGroup.outputFileName)))
|
.pipe(gulpif(doConcat, concat(assetGroup.outputFileName)))
|
||||||
.pipe(autoprefixer({ browsers: ["last 2 versions"] }))
|
.pipe(autoprefixer({ browsers: ["last 2 versions"] }))
|
||||||
// TODO: Start using below whenever gulp-header supports sourcemaps.
|
|
||||||
.pipe(header(
|
.pipe(header(
|
||||||
"/*\n" +
|
"/*\n" +
|
||||||
"** NOTE: This file is generated by Gulp and should not be edited directly!\n" +
|
"** NOTE: This file is generated by Gulp and should not be edited directly!\n" +
|
||||||
@@ -183,8 +182,7 @@ function buildJsPipeline(assetGroup, doConcat, doRebuild) {
|
|||||||
noEmitOnError: true,
|
noEmitOnError: true,
|
||||||
sortOutput: true,
|
sortOutput: true,
|
||||||
}).js))
|
}).js))
|
||||||
.pipe(gulpif(doConcat, concat(assetGroup.outputFileName)))
|
.pipe(gulpif(doConcat, concat(assetGroup.outputFileName)))
|
||||||
// TODO: Start using below whenever gulp-header supports sourcemaps.
|
|
||||||
.pipe(header(
|
.pipe(header(
|
||||||
"/*\n" +
|
"/*\n" +
|
||||||
"** NOTE: This file is generated by Gulp and should not be edited directly!\n" +
|
"** NOTE: This file is generated by Gulp and should not be edited directly!\n" +
|
||||||
@@ -193,9 +191,9 @@ function buildJsPipeline(assetGroup, doConcat, doRebuild) {
|
|||||||
"*/\n\n"))
|
"*/\n\n"))
|
||||||
.pipe(gulpif(generateSourceMaps, sourcemaps.write()))
|
.pipe(gulpif(generateSourceMaps, sourcemaps.write()))
|
||||||
.pipe(gulp.dest(assetGroup.outputDir))
|
.pipe(gulp.dest(assetGroup.outputDir))
|
||||||
.pipe(uglify())
|
.pipe(uglify())
|
||||||
.pipe(rename({
|
.pipe(rename({
|
||||||
suffix: ".min"
|
suffix: ".min"
|
||||||
}))
|
}))
|
||||||
.pipe(gulp.dest(assetGroup.outputDir));
|
.pipe(gulp.dest(assetGroup.outputDir));
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 14
|
# Visual Studio 14
|
||||||
VisualStudioVersion = 14.0.24720.0
|
VisualStudioVersion = 14.0.25420.1
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modules", "Modules", "{E9C9F120-07BA-4DFB-B9C3-3AFB9D44C9D5}"
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modules", "Modules", "{E9C9F120-07BA-4DFB-B9C3-3AFB9D44C9D5}"
|
||||||
EndProject
|
EndProject
|
||||||
|
|||||||
Reference in New Issue
Block a user