I am trying to get webpack and mapbox-gl work together within Meteor system. I have look everywhere about the error mentioned above but none works. Here is my webpack setup
This part is redundant:
"node": { "fs": "empty" }
Not sure if it's causing the problem, but you don't need it.