aboutsummaryrefslogtreecommitdiffstats
path: root/tasks/cdn.js
diff options
context:
space:
mode:
Diffstat (limited to 'tasks/cdn.js')
-rw-r--r--tasks/cdn.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/tasks/cdn.js b/tasks/cdn.js
index badaff0..481a3c9 100644
--- a/tasks/cdn.js
+++ b/tasks/cdn.js
@@ -28,14 +28,9 @@ gulp.task('cdn:stage-bower_components', function() {
});
});
-gulp.task('cdn:stage-markdown', function() {
- return gulp.src(['README.md', 'LICENSE.md'])
- .pipe(markdown())
- .pipe(gulp.dest(stagingPath + "/vaadin-components"));
-});
-
-gulp.task('cdn:stage-vaadin-components', ['cdn:stage-markdown'], function() {
- return gulp.src(['vaadin-components.html', 'demo/*', 'apidoc/*'], {base:"."})
+gulp.task('cdn:stage-vaadin-components', function() {
+ return gulp.src(['README.md', 'LICENSE.html', 'vaadin-components.html', 'demo/*', 'apidoc/*'], {base:"."})
+ .pipe(replace('https://cdn.vaadin.com/vaadin-components/0.3.0-snapshot/', '../../'))
.pipe(gulp.dest(stagingPath + "/vaadin-components"));
});