@strapi/strapi
Version:
An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MySQL, MariaDB, PostgreSQL, SQLite
15 lines (11 loc) • 425 B
JavaScript
;
var config = require('./config.js');
const build = async (ctx)=>{
const config$1 = await config.resolveProductionConfig(ctx);
const finalConfig = await config.mergeConfigWithUserConfig(config$1, ctx);
const { build: viteBuild } = await import('vite');
ctx.logger.debug('Vite config', finalConfig);
await viteBuild(finalConfig);
};
exports.build = build;
//# sourceMappingURL=build.js.map