/
githubmirror
/
30-seconds-of-code
Обзор
Документация
Войти
/
githubmirror
/
30-seconds-of-code
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/lib/contentUtils/config.js
14 строк
780 B
Angelos Chalaris
Add content component creation utility
19 апр 2025, 11:26
Не верифицирован
19 апр 2025, 11:26
04ae837
Код
Авторство
О чём код?
export const contentDir = 'content'; export const outputPath = '.content/content.json'; export const assetPath = `assets`; export const publicPath = `public`; export const collectionGlob = `${contentDir}/collections/**/*.yaml`; export const snippetGlob = `${contentDir}/snippets/**/s/*.md`; export const languageGlob = `${contentDir}/languages/*.yaml`; export const grammarPath = `${contentDir}/grammars.yaml`; export const rankingEnginePath = `${contentDir}/rankingEngine.yaml`; export const hubPath = `${contentDir}/hub.yaml`; export const snippetPrefix = `${contentDir}/snippets/`; export const componentScriptsPath = `${contentDir}/components/scripts/`; export const componentStylesPath = `${contentDir}/components/styles/`; export const componentsPublicPath = `components/`;