Page MenuHomePhabricator

[lib] Include COMM_ALCHEMY_KEY in web Webpack build as well
ClosedPublic

Authored by ashoat on Dec 30 2022, 8:20 AM.
Tags
None
Referenced Files
F3393072: D6114.diff
Sat, Nov 30, 11:20 AM
Unknown Object (File)
Wed, Nov 27, 4:20 AM
Unknown Object (File)
Wed, Nov 6, 6:32 AM
Unknown Object (File)
Wed, Nov 6, 6:32 AM
Unknown Object (File)
Sun, Nov 3, 9:03 PM
Unknown Object (File)
Sat, Nov 2, 7:36 PM
Unknown Object (File)
Sat, Nov 2, 7:36 PM
Unknown Object (File)
Sat, Nov 2, 7:36 PM
Subscribers

Details

Summary

In D6113 we add process.env.COMM_ALCHEMY_KEY to be accessible from landing. But for ENG-1969, we'll need the same key available in the web build. This diff moves the logic to lib/webpack/shared.cjs so all Webpack bundles have access.

Depends on D6113

Test Plan

Tested together with later diffs in the stack

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Very limited experience with webpack, but the changes make sense + look reasonable.

This revision is now accepted and ready to land.Dec 30 2022, 1:56 PM