Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
configHash: (config) => (new ObjectHash()).hash(config),
environmentPaths: {
this.get().forEach((style) => {
let hasher = objectHash({ sort: true, coerce: true }).hash
let hash = hasher(style)
if (typeof cssHashes[ hash ] !== 'undefined' && typeof cssHashes[ hash ].result !== 'undefined') {
return iterations.push(cssHashes[ hash ].result)
}
let use = []
if (style.hasOwnProperty('variables')) {
use.push(postcssAdvancedVars({
variables: style.variables
}))
use.push(postcssCustomProps(style.variables))
} else {
use.push(postcssAdvancedVars())
use.push(postcssCustomProps())
}
export const getCacheDir = (config: PhenomicConfig): string => {
return findCacheDir({
name: "phenomic/webpack-hard-source-cache/" +
(new ObjectHash()).hash(config),
})
}
configHash: (config) => (new ObjectHash()).hash(config),
environmentPaths: {