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 2 years ago

RageZBla commented 2 years 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 2 years 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.