We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Single line directives capture the comment ending token as part of the expression.
/* #if process.env.TARGET === 'chrome' */
Error: Invalid regular expression: missing / in expression "process.env.TARGET === 'chrome' */"
For languages such as css that don't have single line comments this means that directions must be two lines.
The text was updated successfully, but these errors were encountered:
This can be fixed by adding a jscc comment, like so:
/*#set _COLOR = "red" //*/ .hi { /*#if _COLOR === "red" //*/ color: red; /*#endif //*/ }
Sorry, something went wrong.
This is a better work around but sill sub-optimal. Any reason the pattern can't ignore the comment end tag?
No branches or pull requests
Single line directives capture the comment ending token as part of the expression.
For languages such as css that don't have single line comments this means that directions must be two lines.
The text was updated successfully, but these errors were encountered: