TypeError when parsing template literal in dynamic import #12750
Labels
3rd party plugin
This is an issue related to a 3rd party plugin, config, or parser
archived due to age
This issue has been archived; please open a new issue for any further discussion
auto closed
The bot closed this issue
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
babel-eslint
Please show your full configuration:
.eslintrc.yml:
What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.
It seems that use of a template literal within a dynamic import is causing a
TypeError
to be thrown at parse time.It is run via a gulp-like task scheduler using gulp-eslint, so usage is in module context.
What did you expect to happen?
The template should parse correctly.
What actually happened? Please include the actual, raw output from ESLint.
TypeError
is thrown when parsing module containing code sample above. Details shown below.Are you willing to submit a pull request to fix this bug?
Potentially, if this issue ever becomes urgent for some reason. Workaround is simple enough, simply fall back to more traditional string concatenation. :)
The text was updated successfully, but these errors were encountered: