Chalarangelo/30-seconds-of-code

View on GitHub
src/lib/contentUtils/config.js

Summary

Maintainability
A
0 mins
Test Coverage
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/`;