Name: gulp-d3-pre
Owner: FiveThirtyEight
Description: Gulp task for pre-rendering d3 with d3-pre
Created: 2016-01-08 02:15:43.0
Updated: 2017-11-16 13:42:37.0
Pushed: 2016-07-14 21:30:54.0
Homepage: null
Size: 1780
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Gulp task for pre-rendering d3 with d3-pre.
See d3-pre for more detailed documentation.
Install the gulp plugin:
m install gulp-d3-pre
Create a gulp task:
.task('prerender-svgs', function() {
lp.src('./public/index.html')
.pipe(d3Pre())
.pipe(gulp.dest('./public/'));