Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

External import would work as you expect - simple use "import Whatever from 'https://unpkg.com/pkgname/file.js'" or alternatively use the shorthand `//` for the package name and the system will do it's best to fetch the package, like so: "import Whatever from '//package-name/package.file.ext'


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: