UNPKG

histoire

Version:

A fast story book powered by Vite

13 lines (12 loc) • 727 B
import { officialPlugins } from '../marketplace/catalog/official.js'; /** Public module identity shared by static and development workbenches. */ export const MARKETPLACE_OFFICIAL_ID = 'virtual:$histoire-marketplace-official'; /** Internal Vite module identity. */ export const RESOLVED_MARKETPLACE_OFFICIAL_ID = `\0${MARKETPLACE_OFFICIAL_ID}`; /** Export rich offline details without installed state or project-specific restrictions. */ export function resolvedMarketplaceOfficial() { return `export const officialPlugins = ${JSON.stringify(officialPlugins.map((detail) => { const { installed: _installed, history: _history, ...entry } = detail; return { ...entry, compatible: { ok: true } }; }))}`; }