JS template literal with https://example.com treated as comment
-
Hello,
I think that with the JS code like below:const a = 'https://example.com';
(‘ should be an ` but this editor doesn’t handle it good as well)
the template literal is not detected and with JS minification enabled it’s cut after “https:”, so “//” is treated as a start of a comment. This results in a broken JS file.
Plugin version: 2.1.5
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘JS template literal with https://example.com treated as comment’ is closed to new replies.