My config.js file set 3 variables:
config()
.put("accessNode.api", process.env.REACT_APP_ACCESS_NODE)
.put("challenge.handshake", process.env.REACT_APP_WALLET_DISCOVERY)
.put("0xAccount", process.env.REACT_APP_ACCOUNT)
However the are not accessible from Import statements in fcl.script or fcl.transaction
fcl.send([
fcl.script`
import MyContract from 0xAccount // WILL FAIL -> 0xAccount gives undefined
pub fun main(): {Address:UInt32} {
let account = getAccount(0xAccount) // WILL WORK -> 0xAccount gives my env.local value