-
Notifications
You must be signed in to change notification settings - Fork 37
Support ES2015 modules #49
Comments
Hey @dotnetCarpenter! Your comment is being considered. I’ll respond again soon. |
@dotnetCarpenter what happens when you try something like, If an optional module argument helps, would you want to add it to es-check? Read more here, within the acorns repository. It would look something like something like this, |
Closing b/c of inactivity. Reach out if there is more feedback. 👌 |
According to the README at acorn:
The default is I'm using |
Strangely enough it seems to work in a simple example: https://gist.github.com/dotnetCarpenter/9e073526ad62068bdc2183a3459e42d0 But if I try the non-argument version on my real project I get:
PS. I get a lot of errors like the one above. |
@yowainwright Perhaps |
@dotnetCarpenter thanks for looking 🙏 |
I have created a PR which adds the ES module parsing capability using either |
es-check ./src/**/*.mjs
:Proposed CLI:
es-check --experimental-modules ./src/**/*.mjs
ores-check --experimental-modules ./src/index.mjs
. The latter points to the main file whichimport
the rest of the app.The text was updated successfully, but these errors were encountered: