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