One script to rule them all #676
Replies: 2 comments
-
Feel like this is something that #162 should handle - basically you can specify a list of target and tag and it will sequentially build each target. In term of simplifying your current setup, seems like it should be simple for you to make a |
Beta Was this translation helpful? Give feedback.
-
Sure the #162 is promising, but I don't expect it to be released soon (the issue is 1yr old and currently all the logic seems to be inside the CLI). I'll keep an eye on it, but I'll have to live without by now. Regarding the simplification you suggest, it may help. Let's close the issue for now |
Beta Was this translation helpful? Give feedback.
-
Hello,
I build my first extension using plasmo and I'm very happy with the framework.
My extension can targets both Chrome and Edge (eventually FF), and I have two variation of the extension (PROD and DEV). These variations are not related to the type of compilation but allow us have two channel release (think like "current" and "beta" version). The variants has different IDs, different title and some other internal url that changes depending on the variation.
I use
.env.<tag>
files to specify the differences, which works quite well.However, because I have a matrix of build config (today, 2 browsers, 2 tags = 2^2 combinations, tomorrow I'll add new browsers, and this number will explode), I end up with a kindof ugly package.json's script section :
FYI, pack-signed script will create a CRX file with a pem file and refreshDeploy will generate a "dist" folder with all crx, zip files and update.xml files (extensions are not published trough the official stores).
Is there any way to simplify this setup ?
Thanks for your feedback
Beta Was this translation helpful? Give feedback.
All reactions