Closed
Description
What problem does this feature solve?
when user import an empty string like import ''
in SFC, the webpack build will stuck at 98% after emitting CopyPlugin
.
What does the proposed API look like?
Hope the vue-template-compiler
could check the path
string is an available string for require(path)
, and if not use the error-overlay to indicates what and where error happened.
Thanks.
Activity
haoqunjiang commentedon Dec 6, 2019
This is due to the same bug as #4891
After that bug to be fixed, we'll need to correctly detect the error and show the right error message in https://github.com/geowarin/friendly-errors-webpack-plugin/
Contributions are welcome.
givingwu commentedon Dec 6, 2019
ok, i knew that, thanks.
jdz321 commentedon Jul 8, 2020
#4891 已经修掉了 这个问题有进展吗