Dynamic Configuration

Is there a way to dynamically generate the manifest. For example, if I'm doing a build, I'd want certain variables to be omitted, like the host, localhost, but for dev I'd want that to be in there. Is this possible?
5 Replies
rocket
rocketOP•11mo ago
Bump
filthytone
filthytone•11mo ago
you should be using environment variables .. are you facing issues w/ this? https://docs.plasmo.com/framework/env
Plasmo Docs
Environment Variables – Plasmo
Plasmo offers first-class support for environment variables. Learn how to use them in your browser extension.
rocket
rocketOP•11mo ago
Will check it out Hmmmm
Arcane
Arcane•11mo ago
@rocket has reached level 4. GG!
rocket
rocketOP•11mo ago
So I have a list of URLs for host_permissions, I want that when I am in a dev env localhost gets appended to the array
Want results from more Discord servers?
Add your server