[Feature] Not need to set the publicPath
in development when using manifest
#2449
Closed
2 tasks done
Labels
✨ enhancement
New feature or request
Clear and concise description of the problem
Currently, setting the
publicPath
is forced in development, IMO it is redundant and unnecessary.If we know a URL, we can infer its
publicPath
.For example:
If the consumer side finds that the
publicPath
does not start withhttps?://
or//
, it should first try to fetch the possible URL ( usehttp://localhost:9527/
aspublicPath
) and check response, if no response, then fallback try to fetchhttp://${current_project_host}:${current_project_port}/
(the end with/
ispublicPath
) .Suggested solution
No Response
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: