Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Deno 1.9. Parent comment
You can get around this with a double barrel. In the outer barrel, export your individual things
// index.barrel.js export * from './foo.js'
// index.js export * as foobar from './index.barrel.js'
// main.js import { foobar } from './foobar/index.js' foobar.foo()
There are no comments on this comment yet.
You can get around this with a double barrel. In the outer barrel, export your individual things
Then in your main barrel re-export them under a namespace Then from you application you are forced to have a named import with the namespace defined You can submit a proposal to introduce namespacing to ES6 imports