Michał Krassowski
Michał Krassowski
With https://github.com/jupyterlab/jupyterlab-plugin-playground/pull/28 the extensions from https://github.com/jupyterlab/extension-examples now just "work". Regarding the delivery, [`jupyterlab-github`](https://github.com/jupyterlab/jupyterlab-github) is still looking good. An alternative would be to use git submodule which would freeze the examples...
Closely related to #27. Sounds like good way forward. "dynamic dynamic imports" (`import('@jupyterlab/' + name)`) are trickier than "dynamic imports", I did not get them to work but did not...
I think that my previous attempt failed because at one point the `require.js` setup stopped working on my branch (fixed in fbc5b398be8779d6ab0adc251a20ec34d10929ca). It should be possible to revive this effort...
Two years later: System JS together with [SystemJS Babel Extension](https://github.com/systemjs/systemjs-babel) and [systemjs-webpack-interop](https://github.com/joeldenning/systemjs-webpack-interop) could allow for a fully dynamic module-type-independent loading of external modules and re-using of what webpack already loaded....
In #28 I am building on the existing approach of encapsulating the user code in a function call, to expand the capability of this extension, thinking mostly about the "novice...
The need for sandboxing seems to be a consensus, but it looks like that there are now two separate scenarios which need different degree (or lack of) isolation: - "novice...
So there is also [ESM.sh](https://esm.sh/) which compiles NPM packages to ES6 modules (against a chosen target) and also provides TypeScript types via `X-TypeScript-Types` for the LSP (we would need to...
On the issue of SRI, and providing multiple loaders, I was looking up if we could structure the settings around the the unofficial [import maps](https://wicg.github.io/import-maps/) standard. It does not currently...
Or am I overthinking and there should be just a single setting `"loader": "requirejs"` or `"loader": "es"` and mixing of the two should not be allowed? This would simplify it...
Closing as this continues to attract what appears to be bot or otherwise intelligible activity. Please feel welcome to open pull request which address an issue or enhance the dev...