build: group webpack & ignore dist & support yarn1.x (#2551)

This commit is contained in:
Matthieu MOREL
2021-12-11 12:02:39 +01:00
committed by GitHub
parent 67143b7bfd
commit 4cd2621eeb
26 changed files with 836 additions and 144457 deletions

View File

@@ -1,12 +0,0 @@
const { Generator } = require('jison');
const validate = require('schema-utils');
const schema = require('./parser-options-schema.json');
module.exports = function jisonLoader(source) {
const options = this.getOptions();
(validate.validate || validate)(schema, options, {
name: 'Jison Loader',
baseDataPath: 'options',
});
return new Generator(source, options).generate();
};

View File

@@ -1,13 +0,0 @@
{
"title": "Jison Parser options",
"type": "object",
"properties": {
"token-stack": {
"type": "boolean"
},
"debug": {
"type": "boolean"
}
},
"additionalProperties": false
}