-
Notifications
You must be signed in to change notification settings - Fork 6
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
syntax without whitespaces is not supported #3
Comments
Good catch! I think this is the actual cause of rollup/rollup-plugin-node-resolve#200. |
Actually none of the both examples works for me, both are returning false because of a missing whitespace between Anyway I've updated the pattern and added some tests. Now it's working. Unfortunately I don't have permissions on npm (yet) to publish a new version. @clintwood @jonathanong @trevorgerhardt please can anyone of you give me permissions :) |
Not sure if this is still the same issue anymore, but would looking for Note the caution in MDN doc link:
|
Test example:
This fails the isModule check, whereas a single export, like:
Is correctly flagged as module.
The text was updated successfully, but these errors were encountered: