averi
averi
PD🧩 Plasmo Developers
Created by averi on 8/8/2023 in #👾extension
HMR for other chromium browsers
Is it possible to run a development server for opera, firefox, brave, edge, etc? I tried chaining run commands by specifying a dev target and haven't had any luck.
plasmo dev --target=<some-chromium-target>-dev
plasmo dev --target=<some-chromium-target>-dev
From what I can tell it's this addition to the manifest that achieves this dev server behavior:
{
"matches": [
"<all_urls>"
],
"resources": [
"__plasmo_hmr_proxy__"
]
}
{
"matches": [
"<all_urls>"
],
"resources": [
"__plasmo_hmr_proxy__"
]
}
Is there maybe a flag that can be used to achieve this built into the framework? Is it just not possible in other browsers to have hot module replacement? Not a huge deal! Really just curious and trying to learn more about how this stuff works. Thank you!
1 replies
PD🧩 Plasmo Developers
Created by averi on 8/3/2023 in #👾extension
Build time slowed by switching to plasmo with src
Build time with src: ~8854ms Build time without src: ~1656ms Is there a build time improvement by not using plasmo with src as shown here: https://github.com/PlasmoHQ/examples/tree/main/with-src ? I recently migrated my file structure to use src and builds are about 5x slower. Any guidance would be great thank you!
7 replies