11ty / eleventy

A simpler site generator. Transforms a directory of templates (of varying types) into HTML.

Home Page:https://www.11ty.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ndjson output is not including a newline

cfjedimaster opened this issue · comments

Describe the bug
Using --to=ndjson and I'm not seeing a newline in the result.

Here's a sample from a site with two simple pages:

{"url":false,"inputPath":"./foo.liquid","outputPath":false,"content":"\ni wont save"}{"url":"/","inputPath":"./index.liquid","outputPath":"_site/index.html","content":"Hello World: 2021-10-07 09:27"}

Expected behavior
A line break between each item,

Environment:

  • OS and Version: WSL
  • Eleventy Version [via eleventy --version or npx @11ty/eleventy --version] beta

Shipping with 1.0.0-beta.3