Skip to content

Support for @import only works with single quotes, not double quotes (regular expression match) #163

Open
@danielweck

Description

@danielweck

const re = new RegExp(/@import\s'(\D+?)';/, 'gm');

My current workaround is to use single quotes, but I had to change my linter settings :)

Thank you for this useful library! 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions