Update rollup-plugin-lezer.js #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "rollup-exportName"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Added exportName parameter to the lezer rollup function. The lezer generator command line tool allows for an "--export" parameter that allows control of the name exported from the grammar. The rollup tool did not support that parameter.
Could you please wrap this argument in a
configobject (config = {}), so that if we add more options later they don't become a mess of positional parameters?Noted. In addition to "exportName", do you want me to include the other options as well "moduleStyle", "includeNames", and "typeScript".
No -- the output here is for Rollup, which always wants ES modules, no CJS or TypeScript.
Completed wrapping exportName in config object.
I've pushed an alternative patch that adds a note to the readme and doesn't do odd
undefined ||things.Pull request closed