const{getHandlebarTemplate:getHandlebarTemplate,safeString:safeString}=require("./handlebar-helpers"),{readFile:readFile,writeFile:writeFile,getAppJsFilePath:getAppJsFilePath}=require("./wm-utils"),generateAppJS=async(e,t)=>{const a=getHandlebarTemplate("app-component-script")({jsContent:safeString(await readFile(getAppJsFilePath(e)))});await writeFile(`${t}/src/app/app.component.script.js`,a)};module.exports={generateAppJS:generateAppJS};