UNPKG

@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 (12 loc) 505 B
import { ADMIN_VITE_ALIAS_MODULES } from './admin-vite-alias-modules.mjs'; import { getModulePath } from './resolve-module.mjs'; /** * Vite resolve.alias entries for the admin bundle — every path comes from @strapi/admin's closure. * * @internal */ const buildAdminViteResolveAliases = ()=>Object.fromEntries(ADMIN_VITE_ALIAS_MODULES.map((mod)=>[ mod, getModulePath(mod) ])); export { buildAdminViteResolveAliases }; //# sourceMappingURL=admin-vite-aliases.mjs.map