• Resolved mradzikowski

    (@mradzikowski)


    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

    • This topic was modified 3 years, 8 months ago by mradzikowski.
    • This topic was modified 3 years, 8 months ago by mradzikowski.
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.