-
-
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
vue-cli-service build target wc not honoring name for registering custom element #1146
Comments
unless I am mistaken, it looks like I may have encountered a different bug trying to fix this issue. I am unable to build multiple files at once for web components as my entry glob is expanded too early and then only one entry point is passed down to resolveWcConfig.js (instead of the file glob that should be used to find all components I want to build) edit: nevermind, I can prevent the glob expansion by putting my entry in quotes --
|
…ixes vuejs#1146) Fixes issue that prevented single entry wc builds from honoring the `--name` argument. The build process would just use the entry file name for the component name when registering the component previously
…ixes vuejs#1146) Fixes issue that prevented single entry wc builds from honoring the `--name` argument. The build process would just use the entry file name for the component name when registering the component previously
Version
3.0.0-beta.6
Reproduction link
https://github.com/ChristianMurphy/reproduce-vue-issue
Steps to reproduce
What is expected?
Registered custom element name should match
--name
optionWhat is actually happening?
Registered custom element name is
app
The text was updated successfully, but these errors were encountered: