vscode-language-babel
vscode-language-babel copied to clipboard
`import.meta` breaks syntax highlighting inside jsx
- VS Code Version: 1.55.2
- OS Version: 10.15.7
Steps to Reproduce:
-
Create a React component:
const Sample = () => { return import.meta.env.DEV && <div>whatever</div> } -
Watch syntax highlighting break:
Works as expected with vscode-language-babel disabled:
Very busy at the moment, but hopefully I can take a look this week. Would love a PR!
No stress, I've actually uninstalled vscode-language-babel as I realized most (all?) of it is already included in VSCode by default (I'm working inside javascriptreact / typescriptreact VSCode syntaxes most of the time).
Just wanted to share what I found out