Fixes in build system...
This commit is contained in:
parent
7a7b894bd5
commit
0dc5cb2bc1
3
build.js
3
build.js
|
@ -61,6 +61,7 @@ export default function buildNebulosa(debug) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// If the file is run directly from the commandline, build Nebulosa.
|
// If the file is run directly from the commandline, build Nebulosa.
|
||||||
if (import.meta.url === `file://${process.argv[0]}`) {
|
if (import.meta.url === `file://${process.argv[1]}`) {
|
||||||
|
log("Building Nebulosa...")
|
||||||
buildNebulosa(false)
|
buildNebulosa(false)
|
||||||
}
|
}
|
|
@ -32,7 +32,6 @@ function flattenObject(object) {
|
||||||
|
|
||||||
export default function parseTemplate(template, data) {
|
export default function parseTemplate(template, data) {
|
||||||
const flattenedData = flattenObject(data)
|
const flattenedData = flattenObject(data)
|
||||||
log("Loaded config:")
|
|
||||||
|
|
||||||
return template
|
return template
|
||||||
// Syntax: {{ variableName }}
|
// Syntax: {{ variableName }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user