For context:
const js = [`./${distPath}/main-es5.js`, `./${distPath}/main-es5.js.map`, `./${distPath}/scripts.js`, `./${distPath}/scripts.js.map`];
const css = [`./${distPath}/styles.css`];
await fs.ensureDir(`${ELEMENTS_DIR}`);
await concat(js, `${ELEMENTS_DIR}/${PROJECT_NAME}.js`)
.then(() => console.log(`JS dependencies appended to ${PROJECT_NAME}.js file`))
.catch(err => console.log(`Failed to append JS dependencies to ${PROJECT_NAME}.js file: ${err}`));