UNPKG

sb-mig

Version:

CLI to rule the world. (and handle stuff related to Storyblok CMS)

16 lines (15 loc) 465 B
import path from "path"; import dotenv from "dotenv"; import { pkg } from "../utils/pkg.js"; import { defaultConfig, getStoryblokConfigContent, SCHEMA } from "./helper.js"; dotenv.config(); export { SCHEMA }; const filePath = path.resolve(process.cwd(), "storyblok.config"); const customConfig = await getStoryblokConfigContent({ filePath, ext: ".js", }); export default { ...defaultConfig(pkg, `${process.cwd()}`, process.env), ...customConfig, };