huozhi/devjar

Support any npm packages

shuding opened this issue · 0 comments

An easy way is to make all user files start with ./, and assume other imports are requesting a package from npm. We can either use Skypack or esm.sh for it.

In the future there can be a option to specify the packages and versions. For now you can do import 'react@17'.