chore: integrate jison into webpack build

This commit is contained in:
Alexander Sage
2019-08-03 15:05:43 -07:00
parent 2d88982729
commit cfea52f570
16 changed files with 71 additions and 7015 deletions

6
jisonLoader.js Normal file
View 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()
}