Closed wclr closed 8 years ago
There's an issue in system-npm: https://github.com/stealjs/system-npm/issues/34
You could currently add support for steal, as some people use this, like in soket.io-client
case
Not sure what you mean. That issue is to add it to Steal. Should be easier to do.
I mean maybe to parse this field if it in package.json and take its main
instead of package.json main
.
Yes, that is how it would work. This the same thing with system.main in the package.json.
So this doesn't wok now. Steal does not consider it.
I know, that's why https://github.com/stealjs/system-npm/issues/34 exists.
Why is this responsiblity of SystemJs?
It's not, system-npm is the plugin we use to load dependencies from node_modules, it's Steal's plugin, we control it. We just develop it in a separate project.
Ah sorry I din't notice that it is system-npm)
Also this could be parsed:
https://github.com/socketio/socket.io-client/blob/master/package.json#L14