group jison loader and transformer

This commit is contained in:
Matthieu MOREL
2021-09-30 00:07:57 +02:00
committed by GitHub
parent d040883286
commit 9c48703fb1
8 changed files with 35 additions and 17 deletions

View File

@@ -1,5 +0,0 @@
const { Generator } = require('jison');
module.exports = function jisonLoader(source) {
return new Generator(source, this.getOptions()).generate();
};