{"version":3,"file":"build-app.mjs","names":[],"sources":["../../../../src/libs/vite/services/build-app.ts"],"sourcesContent":["import type { Config, ServiceResponse } from \"../../../types.js\";\nimport getBuildPaths from \"../../cli/services/get-build-paths.js\";\nimport prepareLucidSPA from \"../../compile/prepare-lucid-spa.js\";\n\n/**\n * Programatically build the admin SPA with Vite.\n */\nconst buildApp = async (config: Config): ServiceResponse<undefined> => {\n\tconst paths = getBuildPaths(config);\n\n\treturn prepareLucidSPA({\n\t\toutDir: paths.spaOutput,\n\t});\n};\n\nexport default buildApp;\n"],"mappings":"yGAOA,MAAM,EAAW,KAAO,IAGhB,EAAgB,CACtB,OAHa,EAAc,CAGf,CAAC,CAAC,SACf,CAAC"}