Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
: generateScopedName;
} else {
// small fallback
scopedName = (local, filename) => Scope.generateScopedName(local, relative(context, filename));
}
const plugins = (use || [
...prepend,
Values,
mode
? new LocalByDefault({mode})
: LocalByDefault,
createImportedName
? new ExtractImports({createImportedName})
: ExtractImports,
new Scope({generateScopedName: scopedName}),
...append,
]).concat(new Parser({fetch})); // no pushing in order to avoid the possible mutations
return postcss(plugins);
}
scopedName = (local, filename) => Scope.generateScopedName(local, path.relative(context, filename))
}
scopedName = (local, filename) => Scope.generateScopedName(local, path.relative(context, filename))
}
scopedName = (local, filename) => Scope.generateScopedName(local, relative(context, filename));
}
scopedName = (local, filename) => Scope.generateScopedName(local, path.relative(context, filename))
}
scopedName = (local, filename) => Scope.generateScopedName(local, path.relative(context, filename))
}
scopedName = (local, filename) => Scope.generateScopedName(local, relative(context, filename));
scopedName = (local, filename) => Scope.generateScopedName(local, path.relative(context, filename))
}
scopedName = (local, filename) => Scope.generateScopedName(local, path.relative(context, filename))
}