构建捆绑包后的Webpack警告(关键依赖关系)

时间:2016-12-27 08:07:10

标签: node.js webpack

enter image description here webpack在构建捆绑包

后抛出这些警告
WARNING in ./~/openlayers/dist/ol.js
Critical dependencies:
292:366-373 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
 @ ./~/openlayers/dist/ol.js 292:366-373
WARNING in ./~/jspdf/dist/jspdf.debug.js
Critical dependencies:
12380:444-451 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
 @ ./~/jspdf/dist/jspdf.debug.js 12380:444-451

配置:

enter image description here

应用结构: enter image description here

更新 如何使用noparse忽略警告消息中的文件 有什么建议吗?

0 个答案:

没有答案