Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
styles: (() => {
let r = ''
if (typeof filemap['critical.css'] === 'string') {
if (ENV === 'prod')
r += `<style type="text/css" id="__koot-critical-styles">${readClientFile('critical.css', localeId, compilation)}</style>`
if (ENV === 'dev')
r += ``
}
return r
})(),
styles: (() => {
let r = ''
if (typeof filemap['critical.css'] === 'string') {
if (ENV === 'prod')
r += `<style type="text/css" id="__koot-critical-styles">${readClientFile('critical.css', localeId, compilation)}</style>`
if (ENV === 'dev')
r += ``
}
return r
})(),