Sergey Rubanov

Results 240 comments of Sergey Rubanov

There is [https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-dynamic-import](babel-plugin-syntax-dynamic-import) so I suppose we can use custom plugin to transpile it to current `System.import`. @cramforce are you ok with that?

I just created [babel plugin](https://github.com/chicoxyzzy/babel-plugin-dynamic-import-system-import) which replaces `import()` with `System.import()`. I think it could be added to line you mentioned but tests look complicated. I didn't figure out how to...

Yes, it replaces dynamic `import`s with `System.import`s but not just `s/import/System.import` because we should replace only import calls, not static imports. > One very useful feature would be a hook...

That's true. Can you explain what changes do you want from transformer?

ok I'll try to add an option for import specifier to be exactly `StringLiteral` and a relative path.

@Emilios1995 you should definitely choose recompose (or rx-recompose). We have some plans for redux-rx improvements [here](https://github.com/acdlite/redux-rx/issues/19) but to be honest I don't sure when and if some of collaborators will...

To be honest, I'm not sure that we should do that. It's trivial to import json in Node.js and there is a (stage 1) proposal which will enable json modules...

-1 on adding MDN as a source of truth. It is mostly a community-driven wiki and often contains outdated or wrong information. Maybe it's better to add links to specifications?

Another use case here: we have a custom browser-like JS runtime that provides built-in modules similar to Node's `node:*`. That would be great to have an option to externalize by...

Dynamic import is in ES2020 now. We can archive the repo. cc @ljharb @domenic