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?
rocket
rocket•116d ago
Bump
filthytone
filthytone•115d 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
rocket•113d ago
Will check it out Hmmmm
Arcane
Arcane•113d ago
@rocket has reached level 4. GG!
rocket
rocket•113d 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
More Posts
Help needed In API call from extensionI am building and extension with plasmo I have one csui where I have all my code. I want to sent a rTrouble setting upI've never used this framework before and I've tried `npm create plasmo --with-src`. This appeared ttab pagesReading this: https://docs.plasmo.com/framework/tab-pages i can open a react page xyz.html but how cIs there any way I can open the react component in the new tab?I have react based extension and I want to open a component in the new tab. Is that possible ?importing large css file from node_modules is getting truncated (data-text)I'm importing mantine core styles using `import mantineCssText from "data-text:@mantine/core/stylesNew browser extensionHi i am newbie in plasmo... if I understand correctly, the extension is a classic react application,How can I listen for messages from the extension popup in ALL (there could be many) active contents?I have the following configuration for a UI content-script (although I don't actually need the UI --My extension bugged out severelyHi, so I noticed my extension got bugged out alot out of nowhere, I believe it's because of an updatHow can I set focus on an element?I'm trying, but it simply gives focus to the plasmo-csui, not the specific element I wantI am unable to open popup.I've added src/popup/index.tsx It's linked inside .plasmo dev build as well. But when I clikc on thI cannot get content script to workI add a content script to the firebase auth example and I spent 5 hours just trying to get plasmo toWould Plasmo help marketing extensions?maybe just a little further than the showcase thread, would plasmo build some website pages like RecAt your service! As a browser extensionAt your service! As a browser extension developer using Plasmo, I can provide you with an in-depth aError when using a nested content script and an overridden src path.I am seeing the below: 🔴 ERROR | Cannot load file './extension/contents/gmail-sidebar/index' in '.Is the built in storage API suitable for larger datasets?Im building a chrome extension that will need to handle a large set of times the user is meant to prPayments with Google PayHow do I integrate it?Is there a way to get a response body?Hey y’all 👋 I’m building an extension to help gig drivers quickly batch classify trips on EverlanceCommunicating between extensions and other applicationsHey everyone, I wanted to see if anyone has any experience getting a plasmo extension to communicate