diff --git a/lib/presets/grow.js b/lib/presets/grow.js index c04d835..06021f9 100644 --- a/lib/presets/grow.js +++ b/lib/presets/grow.js @@ -27,7 +27,7 @@ const buildInFields = [ const addBlueprints = async (config) => { const { typeConfig, locale } = config || {}; return mapAsync(Object.entries(typeConfig || {}), async ([contentType, blueprint]) => { - const content = await yaml.convert(blueprint); + const content = await yaml.stringify(blueprint); const dir = await getContentTypeDirectory({ ...config, locale, contentType }); const filepath = path.join(dir, '_blueprint.yaml'); await fs.outputFile(filepath, content);