@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
14 lines • 865 B
TypeScript
/**
* Modules that must resolve to a single runtime instance in the admin bundle.
*
* CodeMirror extensions rely on `instanceof` checks internally, so the JSON custom
* field (JSONInput) crashes if @codemirror/state (or its siblings) is duplicated
* between @strapi/design-system, @codemirror/lang-json and @uiw/react-codemirror
* They are resolved from @strapi/design-system's closure — the real
* consumer that also externalizes them — and forced onto a single copy.
*
* @internal
*/
export declare const ADMIN_VITE_SINGLETON_MODULES: readonly ["@codemirror/state", "@codemirror/view", "@codemirror/language", "@codemirror/lang-json", "@codemirror/commands", "@codemirror/lint", "@uiw/react-codemirror"];
export type AdminViteSingletonModule = (typeof ADMIN_VITE_SINGLETON_MODULES)[number];
//# sourceMappingURL=admin-vite-singleton-modules.d.ts.map