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

Is a goal of `wmr` to ever support translating `exports.foo = bar` / `module.exports.foo = bar` + `require()` to `import/export` so that modules that work with `node.js` can work in the browser too?


It already does this. Only for .cjs files and things in node_modules.




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

Search: