You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jakebailey Do we need to skip this import or add it to importedFiles ? This issue #30878 is that preProcessFile didn't process imports after the template strings.
Definitely skip; this is just text in a string, and the "filename" being found is not syntactically valid at all.
preProcessFile should behave exactly as though it has been implemented by running the full parser and then extracting the import expression nodes, but faster, I guess.
Bug Report
🔎 Search Terms
preProcessFile template string conditional expression
🕗 Version & Regression Information
💻 Code
🙁 Actual behavior
🙂 Expected behavior
This is somewhat similar to #47597 or #30878. I found this while fixing monaco for the module transform, which has a higher emit target that enables template strings. See: https://github.com/microsoft/TypeScript-Make-Monaco-Builds/actions/runs/3187364358/jobs/5198859864#step:7:343
The text was updated successfully, but these errors were encountered: