How to initialize a shared javascript module default export

后端 未结 0 1914
鱼传尺愫
鱼传尺愫 2021-01-02 23:51

I want to share an api instance across multiple modules and be able to initialize it with external configuration. My code uses Webpack and Babel to transform those nice ES6

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