pugjs/pug
在 GitHub 查看Generated `debug_sources` are node `Buffer`s and fail `pug_rethrow`
Open
#3,290 建立於 2020年8月18日
Good First Issuebug
描述
Pug Version: your version number here 3.0.0
Node Version: your version number here 14.7.0
When an included file is read, it's Buffer being stored in debug_sources:
Later, this value is passed to the generator and being serialized as-it in the final render function.
Which fails pug_rethrow's expectation, and makes it throw: