Uncaught TypeError: fs.readFileSync is not a function

后端 未结 4 636
孤城傲影
孤城傲影 2020-11-30 15:28

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

4条回答
  •  南方客
    南方客 (楼主)
    2020-11-30 15:55

    This part is redundant:

    "node": {
      "fs": "empty"
    }
    

    Not sure if it's causing the problem, but you don't need it.

提交回复
热议问题