How to depend on an optional native module without breaking webpack users?

前端 未结 0 476
梦谈多话
梦谈多话 2020-12-02 07:39

I maintain a npm module that is used in node and the browser, with and without webpack. I want to add an optional feature that relies on a native module without breaking or

相关标签:
回答
  • 消灭零回复
提交回复
热议问题