diff --git a/src/Gulpfile.js b/src/Gulpfile.js index bbeb40e1d..53ab635fa 100644 --- a/src/Gulpfile.js +++ b/src/Gulpfile.js @@ -140,11 +140,10 @@ function buildCssPipeline(assetGroup, doConcat, doRebuild) { .pipe(gulpif(generateSourceMaps, sourcemaps.init())) .pipe(gulpif("*.less", less())) .pipe(gulpif("*.scss", sass({ - precision: 10 + precision: 10 }))) .pipe(gulpif(doConcat, concat(assetGroup.outputFileName))) .pipe(autoprefixer({ browsers: ["last 2 versions"] })) - // TODO: Start using below whenever gulp-header supports sourcemaps. .pipe(header( "/*\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, sortOutput: true, }).js)) - .pipe(gulpif(doConcat, concat(assetGroup.outputFileName))) - // TODO: Start using below whenever gulp-header supports sourcemaps. + .pipe(gulpif(doConcat, concat(assetGroup.outputFileName))) .pipe(header( "/*\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")) .pipe(gulpif(generateSourceMaps, sourcemaps.write())) .pipe(gulp.dest(assetGroup.outputDir)) - .pipe(uglify()) - .pipe(rename({ - suffix: ".min" - })) - .pipe(gulp.dest(assetGroup.outputDir)); + .pipe(uglify()) + .pipe(rename({ + suffix: ".min" + })) + .pipe(gulp.dest(assetGroup.outputDir)); } diff --git a/src/Orchard.sln b/src/Orchard.sln index 812480407..7ed3707bc 100644 --- a/src/Orchard.sln +++ b/src/Orchard.sln @@ -1,6 +1,6 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 -VisualStudioVersion = 14.0.24720.0 +VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Modules", "Modules", "{E9C9F120-07BA-4DFB-B9C3-3AFB9D44C9D5}" EndProject