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:
parent
ef7e0ddae4
commit
cfe6cc6a7e
3 changed files with 8 additions and 27 deletions
|
@ -2266,6 +2266,8 @@ gulp.task("metalsmith", async function () {
|
|||
.use(
|
||||
layouts({
|
||||
directory: "docs/templates",
|
||||
pattern: "**",
|
||||
transform: "nunjucks",
|
||||
})
|
||||
)
|
||||
.use(relative())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue