Page MenuHomePhabricator

[desktop] add cross-env dependency and use it to set environment variables in desktop/package.json
ClosedPublic

Authored by varun on Jul 30 2024, 3:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 7:41 AM
Unknown Object (File)
Sun, Nov 10, 6:23 PM
Unknown Object (File)
Sat, Nov 2, 3:31 AM
Unknown Object (File)
Sat, Nov 2, 3:31 AM
Unknown Object (File)
Sat, Nov 2, 3:31 AM
Unknown Object (File)
Sat, Nov 2, 3:31 AM
Unknown Object (File)
Sat, Nov 2, 3:13 AM
Unknown Object (File)
Fri, Oct 18, 5:17 PM
Subscribers

Details

Summary

windows ignores ENV=dev unless we use cross-env, which sets the environment variable in a windows-compatible way

Test Plan

when I console log process.env.ENV now, i see "dev" in my terminal. before this change, it was undefined

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable