Consistent spacing for variable handlebars
This commit is contained in:
@@ -23,10 +23,10 @@ const outputFile = entrypoints
|
|||||||
const ext = path.extname(file)
|
const ext = path.extname(file)
|
||||||
|
|
||||||
if (ext === '.js') {
|
if (ext === '.js') {
|
||||||
return `<script defer="defer" src="{{staticCDNHost}}/static/js/${file}"></script>`
|
return `<script defer="defer" src="{{ staticCDNHost }}/static/js/${file}"></script>`
|
||||||
}
|
}
|
||||||
if (ext === '.css') {
|
if (ext === '.css') {
|
||||||
return `<link rel="stylesheet" href="{{staticCDNHost}}/static/css/${file}">`
|
return `<link rel="stylesheet" href="{{ staticCDNHost }}/static/css/${file}">`
|
||||||
}
|
}
|
||||||
|
|
||||||
return ''
|
return ''
|
||||||
|
|||||||
Reference in New Issue
Block a user