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

12 lines 569 B
/** * Strip `//` and `/* *\/` comments from JSON-like text without loading `typescript`. */ declare const stripJsonComments: (input: string) => string; /** * Read `compilerOptions.outDir` from tsconfig.json without loading `typescript` or * `@strapi/typescript-utils`. Returns null when the file cannot be parsed or when * `extends` may define outDir (fall back to resolveOutDir). */ declare const tryQuickOutDir: (appDir: string, tsconfigPath: string) => string | null; export { tryQuickOutDir, stripJsonComments }; //# sourceMappingURL=try-quick-outdir.d.ts.map