-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#129] fix: correctly remove multiple /* empty css */ multiple occurr…
…ences (#130)
- Loading branch information
1 parent
22dec44
commit 1f6c9ec
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
replaceAll breaks compatibility with nodeJs 14 as it is only available from NodeJs 15+, could you make it compatible with nodejs 14 again or would you accept a PR if I submit a fix?
edit: as you have a regex pattern with /g you dont need to use replaceAll and replace would do the same