1
0
mirror of https://github.com/GenderDysphoria/GenderDysphoria.fyi.git synced 2025-11-25 20:42:40 +00:00

Migrate to Node 16 (#118)

* Node 16: fix build dependencies

* Node 16: fix Bootstrap dependency problem

* Node 16: fix error in HTML writer

* Node 16: move await to proper place (h/t alliejones)
This commit is contained in:
Bill Garrett
2023-01-02 14:03:02 -08:00
committed by GitHub
parent 71990af059
commit 2f90e668cd
16 changed files with 25402 additions and 5246 deletions

View File

@@ -22,7 +22,7 @@ module.exports = exports = class Files {
this.assets = assets || [];
this._getTitlecard = memoize(() =>
find(assets, { name: 'titlecard', dir: this.base }),
find(assets, { name: 'titlecard', dir: this.base })
);
this._getWebReady = memoize(() => assets && keyBy(assets.map((a) => a.webready), 'name'));