1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 06:38:07 +02:00

Upgrade @metalsmith/layouts to version 3.0.0

This is a major version bump, and the changelog at
https://github.com/metalsmith/layouts/releases/tag/v3.0.0
indicates a breaking change that impacts us, namely that we need to
explicitly define the pattern and transformer that we wish to use.
This commit is contained in:
Tim van der Meij 2025-03-15 19:49:59 +01:00
parent ef7e0ddae4
commit cfe6cc6a7e
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762
3 changed files with 8 additions and 27 deletions

View file

@ -2266,6 +2266,8 @@ gulp.task("metalsmith", async function () {
.use(
layouts({
directory: "docs/templates",
pattern: "**",
transform: "nunjucks",
})
)
.use(relative())