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.
/* #if process.env.TARGET === 'chrome'
*/
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.