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

9
jisonTransformer.js Normal file
View File

@@ -0,0 +1,9 @@
const { Generator } = require('jison')
module.exports = {
process (source, filename, config, transformOptions) {
return new Generator(source, {
'token-stack': true
}).generate()
}
}