This PR ensures that Pug options specified in the configuration are correctly applied within @11ty/eleventy-plugin-pug. Although the documentation indicated that Pug options could be passed, they were not being merged internally, leading to a discrepancy between the documentation and the actual implementation.
Changes
Added logic to merge Pug options provided in the plugin configuration, aligning the implementation with the documented behavior
With this fix, users can now pass Pug options like pretty and filters as described in the documentation, allowing for custom Pug template rendering.
This PR ensures that Pug options specified in the configuration are correctly applied within
@11ty/eleventy-plugin-pug
. Although the documentation indicated that Pug options could be passed, they were not being merged internally, leading to a discrepancy between the documentation and the actual implementation.Changes
With this fix, users can now pass Pug options like
pretty
andfilters
as described in the documentation, allowing for custom Pug template rendering.