mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
42d8bbfce2
remove babel-core and webpack-bundle-analyzer and yarn-upgrade-all config
7 lines
201 B
JavaScript
7 lines
201 B
JavaScript
const { Generator } = require('jison');
|
|
const { getOptions } = require('loader-utils');
|
|
|
|
module.exports = function jisonLoader(source) {
|
|
return new Generator(source, getOptions(this)).generate();
|
|
};
|