Skip to content

Commit 1faca76

Browse files
committed
move test, update deps
1 parent cb2c458 commit 1faca76

File tree

3 files changed

+1228
-553
lines changed

3 files changed

+1228
-553
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ const cssVarToUsoVars = memo(value => {
475475
});
476476

477477
const isValidDeclaration = memo((prop, value) => {
478-
if (!knownProperties.has(prop) && !/^--./i.test(prop)) {
478+
if (!knownProperties.has(prop) && !/^--./.test(prop)) {
479479
return false;
480480
}
481481

@@ -816,7 +816,7 @@ export default async function remapCss(sources, mappings, opts = {}) {
816816
output = output.replace(/\n{2,}/g, "\n").trim();
817817

818818
// remove obsolete comments
819-
output = output.replace(/\* .+\/[\n ]\//gm, "");
819+
output = output.replace(/\* .+\/[\n ]\//g, "");
820820

821821
// restore uso vars
822822
output = cssVarToUsoVars(output);

0 commit comments

Comments
 (0)