You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to produce separate dist of JS-IPFS that would allow sharing node across multiple browsing contexts through SharedWorker API (Contex: ipfs/js-ipfs#3022).
I would like to suggest adding --target webworker to aegir build (similar to aegir test --target webworker) that could produce build for webworker` target. Although that on it's own is probably not going to be enough. As we do need separate dist that spits out two files one for loading in the main thread and the other in the worker thread.
We would like to produce separate dist of JS-IPFS that would allow sharing node across multiple browsing contexts through SharedWorker API (Contex: ipfs/js-ipfs#3022).
As far as I understand we need webpack with multiple-configurations, new one that targets webworker.
However it appears that using webpack config with multiple configurations is rejected by aegir
There might be other / better ways to go about it with aegir, but so far I'm struggling to see those.
The text was updated successfully, but these errors were encountered: