WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Does not strip comments from interpolated expressions #267

@a2937

Description

@a2937

Comments are not removed from code that uses interpolated expressions.

For example if campers have a line of code like :

const v = /*a*/`/*b*/${/*c*/12}`; 

The expected output should be

const v = `/*b*/${12}`;

However we end up with the following

const v = `/*b*/${/*c*/12}`;

Copied from: jonschlinkert/strip-comments#54

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions