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