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
Dojo 2 Applications should support the use of Web Workers where they are available with some sort of fallback to ensure the application is still isomorphic.
The worker-loader allow with a call to require(worker-loader?....), but we want to avoid inline usage of loaders.
Kit:
Also, if we do go with an approach like this, we should still find a better way to integrate it. We can type plugins now with something like:
Would we not be able to create something that wrapped ES import() that we could also inject some feature detection, so the code was isomorphic on Node.js as well?
The text was updated successfully, but these errors were encountered:
Do you think that we could use worker-loader but not inline? and perhaps introduce a convention for web workers, maybe *.worker.ts and/or allow consumers to register specific worker files via the .dojorc?
Dojo 2 Applications should support the use of Web Workers where they are available with some sort of fallback to ensure the application is still isomorphic.
The
worker-loader
allow with a call torequire(worker-loader?....)
, but we want to avoid inline usage of loaders.Kit:
The text was updated successfully, but these errors were encountered: