mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
11 lines
272 B
JavaScript
11 lines
272 B
JavaScript
import gulp from 'gulp'
|
|
import jison from 'gulp-jison'
|
|
import filelog from 'gulp-filelog'
|
|
|
|
gulp.task('jison', function () {
|
|
return gulp.src('./src/**/*.jison')
|
|
.pipe(filelog('Jison file:'))
|
|
.pipe(jison({ 'token-stack': true }))
|
|
.pipe(gulp.dest('./src/'))
|
|
})
|