【发布时间】:2016-08-22 11:31:52
【问题描述】:
我必须在我正在处理的项目中包含 openlayers。我已经尝试将它包含在 ext 文件夹和 npm 中。
我在我的工作流程中使用 Webpack。在编译时,我在控制台中收到以下警告。
WARNING in ./~/openlayers/dist/ol.js
Critical dependencies:
730:1111-1118 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 730:1111-1118
知道这是什么吗?
【问题讨论】:
标签: javascript node.js webpack openlayers-3