Page MenuHomePhabricator

[web-db] not include `crypto`, `fs`, and `path` polyfills for workers
ClosedPublic

Authored by kamil on Mar 7 2023, 8:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 19, 4:24 AM
Unknown Object (File)
Sat, Dec 14, 4:27 PM
Unknown Object (File)
Sat, Dec 14, 4:27 PM
Unknown Object (File)
Sat, Dec 14, 4:26 PM
Unknown Object (File)
Sat, Dec 14, 4:18 PM
Unknown Object (File)
Wed, Dec 11, 5:26 PM
Unknown Object (File)
Sat, Nov 30, 5:02 AM
Unknown Object (File)
Thu, Nov 28, 5:23 AM
Subscribers

Details

Summary

Docs: webpack.

Without this change including sql,js module in worker will cause issues with module not found.

Depends on D6987

Test Plan

cd web && yarn dev

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Mar 7 2023, 10:05 AM

The title is somewhat misleading, but mostly the fault of Webpack docs. Before this diff, the polyfills were not included. After this diff, each of these is set to the empty object (I think)

This revision is now accepted and ready to land.Mar 7 2023, 4:25 PM