mirror of
https://github.com/mermaid-js/mermaid.git
synced 2024-08-27 20:51:30 +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()
|
|
}
|