Hacker News new | ask | show | jobs
by elisk 2053 days ago
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'