@bemedev/core
Version:
The core library of @bemedev
14 lines (11 loc) • 434 B
JavaScript
import { init as init$1 } from '@bemedev/codebase';
import { JSON_PATH, DEFAULT_ROOT, config } from '../constants.js';
import { getFile } from '../helpers.js';
const init = (options = {}) => {
const { root = DEFAULT_ROOT, json = JSON_PATH } = options;
const { CODEBASE_ANALYSIS } = getFile();
config.json = json;
return init$1(CODEBASE_ANALYSIS, { root, json });
};
export { init };
//# sourceMappingURL=init.js.map