Can vue-cli detect the syntax error when import an empty string? #4914
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.