-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The baseUrl option cannot be empty #900
Comments
Hmm, |
|
@sjoerdvisscher that seems to be a legit bug - can you provide some more details? |
I get:
The actual stylesheet link and the script src urls are correct. (They start with But why can't it be the empty string, it's the default for webpack: https://webpack.js.org/configuration/output/#output-publicpath |
|
Can this issue be reevaluated? Motivation is as follows: We've tried all permutations of To achieve this it seems the |
This will be possible in the next release. |
Sorry to be a troll, but are the docs just made up then? I dont think I ever heard of premature documentation. https://cli.vuejs.org/config/#baseurl |
Version
3.0.0-alpha.13
Steps to reproduce
Make a vue.config.js with
execute
npm run build
.What is expected?
An index.html file is created with relative link, f.e. href=js/... etc.
What is actually happening?
I get an error that baseUrl cannot be empty.
A simple workaround is
This is actually the default value for publicPath, so it is weird that baseUrl does not allow this value.
The text was updated successfully, but these errors were encountered: