### Version 3.0.0-beta.6 ### Reproduction link [https://github.com/vuejs/vue-cli/blob/edff5b49feb29c819c007028d72f0ff777e0393d/packages/%40vue/cli-service/lib/Service.js#L210](https://github.com/vuejs/vue-cli/blob/edff5b49feb29c819c007028d72f0ff777e0393d/packages/%40vue/cli-service/lib/Service.js#L210) ### Steps to reproduce 1. Setup the vue.config.js with following content: ``` module.exports = { baseUrl: 'https://cdn.example.com/assets/' } ``` 2. Run `npm run build` 3. Check the generated file at `dist/index.html` ### What is expected? <script type=text/javascript src=https://cdn.example.com/assets/js/app.8cd3ebbc.js></script> ### What is actually happening? <script type=text/javascript src=/https://cdn.example.com/assets/js/app.8cd3ebbc.js></script> <!-- generated by vue-issues. DO NOT REMOVE -->