nfroidure / ttf2woff2

Convert ttf files to woff2.
MIT License
297 stars 39 forks source link

Add support for Node 16 #70

Closed pioug closed 3 years ago

pioug commented 3 years ago

Fixes build on Node 16 (see failed build https://github.com/nfroidure/ttf2woff2/runs/2646488279#step:4:1).

I am not familiar with node-gyp nor C++. I just took the solution from the node-sass project (https://github.com/sass/node-sass/commit/8ab02da95e0ad3a9a48cbd06b7bb2a7ce9a91966) and node-gyp's maintainer (https://github.com/nodejs/node-gyp/issues/2387#issuecomment-831253742).

Proposed changes

Code quality

License

To get your contribution merged, you must check the following.

Join

~My NPM username:~