UNPKG

dependency-graph-construction

Version:

A powerful tool to construct dependency graphs for JavaScript and TypeScript projects. Useful for project structure analysis and debugging.

9 lines (7 loc) 274 B
import { resolve } from 'path'; import { readFileSync } from 'fs'; const loadConfig = () => { const bundlerConfigPath = resolve(process.cwd(), 'bundler.config.json'); return JSON.parse(readFileSync(bundlerConfigPath, 'utf-8')); } export default loadConfig;