mirror of
https://github.com/mermaid-js/mermaid.git
synced 2024-09-06 01:21:28 +02:00
7 lines
198 B
JavaScript
7 lines
198 B
JavaScript
![]() |
const { Generator } = require('jison')
|
||
|
const { getOptions } = require('loader-utils')
|
||
|
|
||
|
module.exports = function jisonLoader (source) {
|
||
|
return new Generator(source, getOptions(this)).generate()
|
||
|
}
|