benjamn / reify

Enable ECMAScript 2015 modules in Node today. No caveats. Full stop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reify with webpack

mariusrak opened this issue · comments

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.

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...