Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
kerneldeimos
· 3y ago · 0 comments
Isn't one of the merits of ESM that it can import either? I believe this is supposed to work:
import theDefaultExport from '@heyputer/kv.js';
Comments
[–]
spankalee
3y ago
Browsers can not import CommonJS