WomenInSoftwareEngineeringJP / speak-her-db

Database of women speakers in Japan.
https://speakher.jp
MIT License
25 stars 25 forks source link

Fix netlify lambda functions #278

Closed RageZBla closed 1 year ago

RageZBla commented 1 year ago

The node-fetch 2.6.7 does not seems to be compatible with NodeJS Abort Controller. It broke the lambda function.

Add a patch for the library for now.

sample error message: TypeError - Expected signal to be an instanceof AbortSignal

Resolves #262

Proposed Changes

This disable the mangle options of the webpack uglify plugin.

Testing Plan

How do the reviewers QA this? Feel free to write unit tests or describe manual testing steps here

RageZBla commented 1 year ago

@Ania-chan @ann-kilzer this should be ready to be reviewed, when you have the spare time :bow:

And apologies for the messy commit history, probably should squash this one.