Use .js files with -c option on CLI
This commit adds support for '.js' files to be passed to the '-c', '--config' or '--extra-options-file' options on the CLI, allowing the developer to do some extra work before the parser is generated (if they wish), or dynamically set options based on the enviroment.master
parent
d06a5b52ef
commit
b6bc0d905e
@ -1,7 +0,0 @@
|
||||
{
|
||||
"header": "/* eslint-disable */",
|
||||
"dependencies": {
|
||||
"ast": "./ast",
|
||||
"util": "../util"
|
||||
}
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
|
||||
header: "/* eslint-disable */",
|
||||
|
||||
dependencies: {
|
||||
|
||||
ast: "./ast",
|
||||
util: "../util"
|
||||
|
||||
},
|
||||
|
||||
};
|
Loading…
Reference in New Issue