-
Notifications
You must be signed in to change notification settings - Fork 2k
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
support for import.meta #5356
Comments
This is the first time in 10 years that I am using the backquote behavior, thanks for the temporary solution. |
It looks like this bug was fixed by #5324 (June 3, 2020) but that CoffeeScript hasn't released since then (v2.5.1 was released on NPM on January 31, 2020). Probably worth a new release? |
Yeah. There’s also top-level |
Resolved in #5374. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bug report - it's not listed under Unsupported ECMAScript Features
Input Code
Expected Behavior
This should give us the equivalent to __dirname in common js
Current Behavior
Error message for the period after import in the last line
Possible Solution
Should work as it does in ECMAScript, or at least be listed as not compatible
Context
As a workaround, I put the import.meta.url inside backquotes so coffeescript uses it as is.
But I'm not sure yet whether that always works.
Environment
The text was updated successfully, but these errors were encountered: