tools/generateHtmlFile.js
function buildFile() {
    var reader = readline.createInterface({
        input: fs.createReadStream(path.resolve("./src/assets/template.html"))
    });
    
    var lines = [];
    reader.on("line", line => lines.push(line));

    return new Promise(resolve => {
        reader.on("close", () => resolve(buildJsFileContents(lines)));
    });
}
function buildFile() {
    var reader = readline.createInterface({
        input: fs.createReadStream(path.resolve("./src/assets/template.html"))
    });
    
    var lines = [];
    reader.on("line", line => lines.push(line));

    return new Promise(resolve => {
        reader.on("close", () => resolve(buildJsFileContents(lines)));
    });
}
function buildFile ( ) { var reader = readline . createInterface ( { input : fs . createReadStream ( path . resolve ( "./src/assets/template.html" ) ) } ) ; var lines = [ ] ; reader . on ( "line" , line => lines . push ( line ) ) ; return new Promise ( resolve => { reader . on ( "close" , ( ) => resolve ( buildJsFileContents ( lines ) ) ) ; } ) ; }
Build a promise which will generate css -> js file contents
Build a promise which will generate css - > js file contents