DEV Community

Discussion on: Javascript the compiled language

yujiri8 profile image
Ryan Westlund Author

I don't see anything there that deals with bare import resolution, but I'll have to do more investigation later

Thread Thread
easrng profile image
easrng

The thing is, without something like skypack/pika (npm CDN/kinda bundler thing), there are no module names. A module is at it's URL, and no resolution is needed.

Thread Thread
easrng profile image
easrng

So, compilation is only needed for interop with the npm ecosystem.

Thread Thread
yujiri8 profile image
Ryan Westlund Author

Interop with the NPM ecosystem is essential though. We need to be able to use JS libraries from NPM.

Thread Thread
easrng profile image
easrng

So use JSPM.dev or skypack.dev or snowpack etc