mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-20 07:49:43 +02:00
Esbuild
This commit is contained in:
6
jisonLoader.js
Normal file
6
jisonLoader.js
Normal file
@@ -0,0 +1,6 @@
|
||||
const { Generator } = require('jison');
|
||||
const { getOptions } = require('loader-utils');
|
||||
|
||||
module.exports = function jisonLoader(source) {
|
||||
return new Generator(source, getOptions(this)).generate();
|
||||
};
|
Reference in New Issue
Block a user