added server

This commit is contained in:
Joe Reeve
2015-11-07 12:55:26 +00:00
parent d79aa68110
commit 88e84ef4d7
8 changed files with 112 additions and 12 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ gulp.task('componentJS', function(){
gulp.task('componentHTML', function(){
return gulp.src(paths.componentHTML).pipe(
insert.transform(function(contents, file) {
return '<script id="' + file.path.split('/').slice(-1)[0].split('.')[0] + '">' + contents + '</script>';
return '<script type="text/ractive" id="' + file.path.split('/').slice(-1)[0].split('.')[0] + '">' + contents + '</script>';
})).pipe(concat('components.html'))
.pipe(gulp.dest('./build'));
});