xlsx版本0.14.5,试了下更新到最新也是一样有警告提示
react: 15.3.0
react-dom: 15.3.0
react-router: 3.0.0
有人遇到类似这样到问题么
...
WARNING in ./~/xlsx/jszip.js
Critical dependencies:
25:159-166 This seems to be a pre-builtjavascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
@ ./~/xlsx/jszip.js 25:159-166
...
在他们官网issues里找到答案了