From a83c4c1966949bcef0414d3386ef92cf0ca859a9 Mon Sep 17 00:00:00 2001 From: kevin_zenika Date: Wed, 28 May 2014 14:49:30 +0200 Subject: [PATCH 1/2] fix path bug with partials, fix path bug with gulp-inject, fix css --- app/templates/gulp/_build.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/templates/gulp/_build.js b/app/templates/gulp/_build.js index 812fecfc..f0315c31 100644 --- a/app/templates/gulp/_build.js +++ b/app/templates/gulp/_build.js @@ -28,7 +28,7 @@ gulp.task('partials', function () { })) .pipe($.ngHtml2js({ moduleName: "<%= appname %>", - prefix: "partials/" + prefix: "/partials/" })) .pipe(gulp.dest(".tmp/partials")) .pipe($.size()); @@ -43,7 +43,7 @@ gulp.task('html', ['styles', 'scripts', 'partials'], function () { read: false, starttag: '', addRootSlash: false, - ignorePath: '.tmp' + addPrefix: '../' })) .pipe($.useref.assets()) .pipe($.rev()) @@ -52,6 +52,7 @@ gulp.task('html', ['styles', 'scripts', 'partials'], function () { .pipe($.uglify()) .pipe(jsFilter.restore()) .pipe(cssFilter) + .pipe($.replace('bower_components/bootstrap-sass-official/vendor/assets/fonts/bootstrap','fonts')) .pipe($.csso()) .pipe(cssFilter.restore()) .pipe($.useref.restore()) From d5f0bbe436e685d80e3d4a898ecd9c2cfd6a7d1c Mon Sep 17 00:00:00 2001 From: kevin_zenika Date: Wed, 28 May 2014 14:54:41 +0200 Subject: [PATCH 2/2] add missing dependency --- app/templates/_package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/app/templates/_package.json b/app/templates/_package.json index fa31cbf9..741e4558 100644 --- a/app/templates/_package.json +++ b/app/templates/_package.json @@ -19,6 +19,7 @@ "gulp-uglify": "^0.2.1", "gulp-useref": "^0.4.2", "gulp-ngmin": "^0.2.0", + "gulp-replace": "^0.3.0", "gulp-rev": "^0.3.2", "gulp-rev-replace": "^0.1.0", "gulp-ng-html2js": "~0.1.6",