标签: webpack webpack-dev-server javascript-import
Webpack在找到它认为不存在的导入内容时非常方便地显示警告:
WARNING in ./somefile.js 18:34-55 "export 'A_CONSTANT' was not found in './constants.js'
这很棒,但是最好能收到一个实际的错误,理想情况下,该错误会显示在webpack开发服务器的overlay选项中。有没有办法做到这一点
overlay