Node.js 生成捆绑包后的网页包警告(关键依赖项)

Node.js 生成捆绑包后的网页包警告(关键依赖项),node.js,webpack,Node.js,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. @ ./~/open

生成捆绑包后网页包抛出这些警告

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
配置:

应用程序结构:

更新 如何使用
noparse

有什么建议吗?

webopack 1.14.0@Codesinghi认为您的代码返回了非零错误code@Codesingh看看问题中的屏幕截图,你有webpack validator吗?@Codesingh好的,现在我意识到我不能让webpack忽略解析过程中的
ol.js
,Webopack 1.14.0@Codesingh我认为你的代码正在返回非零误差code@Codesingh看看问题中的截图,你有网页验证程序吗?@Codesingh好的,现在我意识到我不能让网页从解析过程中忽略
ol.js