mirror of
https://github.com/mermaid-js/mermaid.git
synced 2024-09-11 20:12:46 +02:00
Remove jisonloader
This commit is contained in:
parent
965df4fdf4
commit
1206ec43ac
2 changed files with 0 additions and 15 deletions
|
@ -1,6 +0,0 @@
|
|||
const { Generator } = require('jison');
|
||||
const { getOptions } = require('loader-utils');
|
||||
|
||||
module.exports = function jisonLoader(source) {
|
||||
return new Generator(source, getOptions(this)).generate();
|
||||
};
|
|
@ -1,9 +0,0 @@
|
|||
const { Generator } = require('jison');
|
||||
|
||||
module.exports = {
|
||||
process(source, filename, config, transformOptions) {
|
||||
return new Generator(source, {
|
||||
'token-stack': true,
|
||||
}).generate();
|
||||
},
|
||||
};
|
Loading…
Reference in a new issue