Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
danielweck opened this issue Oct 15, 2021 · 2 comments 路 May be fixed by #164
Open

Comments

@danielweck
Copy link

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! 馃憤

@danielweck
Copy link
Author

related issue: #87
(should be closed via #104 I think?)

@danielweck
Copy link
Author

Proposed fix: #164

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant