benjamn / reify

Enable ECMAScript 2015 modules in Node today. No caveats. Full stop.
MIT License
743 stars 29 forks source link

Reify with webpack #239

Open mariusrak opened 4 years ago

mariusrak commented 4 years ago

Hi, is it possible, to use reify with webpack? I'm using ardatan:webpack with meteor and I'd like to use also reify as one of plugins for babel-loader. However I'm getting error:

TypeError: module.link is not a function

How could I make it work? Thanks.

ddaydd commented 2 years ago

I had the same error "TypeError: module.link is not a function" with the nengi package and I had to add "type": "module" in the package.json and change "main": "index.js" to "main": "index-es6.js" maybe this could help someone...