-
-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Standalone esm option --code-esm
is not recognized
#2354
Labels
Comments
It looks like this option is simply not supported, but I can see a promising PR that adds it in. I will follow up. This will either be an enhancement or it's just that the docs are wrong. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Ajv are you using? Does the issue happen if you use the latest version?
[email protected]
The docs say:
But when I do this:
It gives this error:
Indeed, in
ajv help compile
, there is no option listed for--code.esm
. So, the documentation here is incorrect: https://ajv.js.org/standalone.htmlMaybe related to #2209 -- is ESM module generation not working, and so the CLI option has been removed?
The text was updated successfully, but these errors were encountered: