Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Support relative paths in distribution #21
Browse files Browse the repository at this point in the history
  • Loading branch information
pantsel committed Feb 20, 2017
1 parent e665ee0 commit 86c5c49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,10 @@ gulp.task('dist', ['vendors', 'assets', 'fonts', 'styles-dist', 'scripts-dist'],
return gulp.src('./src/app/index.html')
.pipe(g.inject(gulp.src('./dist/vendors.min.{js,css}'), {
ignorePath: 'dist',
addRootSlash: false,
starttag: '<!-- inject:vendor:{{ext}} -->'
}))
.pipe(g.inject(gulp.src('./dist/' + bower.name + '.min.{js,css}'), {ignorePath: 'dist'}))
.pipe(g.inject(gulp.src('./dist/' + bower.name + '.min.{js,css}'), {ignorePath: 'dist',addRootSlash: false}))
.pipe(replace({
patterns: [
{
Expand Down

0 comments on commit 86c5c49

Please sign in to comment.