vue-cli
vue-cli copied to clipboard
fix(SafariNomoduleFixPlugin):to solve the publicPath with the protocol missing a "/" character
When using the publicPath option, if you use https:// or http://, the resulting fullSafariFixPath will be missing a /character (e.g. http://example.com/...
will become http:/example.com...
) This is commit to fix this issue.
What kind of change does this PR introduce? (check at least one)
- [x] Bugfix
- [ ] Feature
- [ ] Code style update
- [ ] Refactor
- [ ] Docs
- [ ] Underlying tools
- [ ] Other, please describe:
Does this PR introduce a breaking change? (check one)
- [ ] Yes
- [x] No
Other information: To solve https://github.com/vuejs/vue-cli/issues/6594