Version
3.0.0-beta.6
Reproduction link
https://github.com/ChristianMurphy/reproduce-vue-issue
Steps to reproduce
vue create example-component
# select default
cd example-component
npm run build -- --target wc --name example-component
What is expected?
Registered custom element name should match --name option
window.customElements.define('example-component', vue_wc_wrapper(external__Vue__default.a, src_App))
What is actually happening?
Registered custom element name is app
window.customElements.define('app', vue_wc_wrapper(external__Vue__default.a, src_App))