|
|
@ -1310,7 +1310,7 @@ function process_component_options(component: Component, nodes) {
|
|
|
|
if (tag && !component.compile_options.customElement) {
|
|
|
|
if (tag && !component.compile_options.customElement) {
|
|
|
|
component.warn(attribute, {
|
|
|
|
component.warn(attribute, {
|
|
|
|
code: 'missing-custom-element-compile-options',
|
|
|
|
code: 'missing-custom-element-compile-options',
|
|
|
|
message: `tag name is used when compiling the compenent as a custom element. Did you forgot to add "customElement" for compile options?`
|
|
|
|
message: `The 'tag' option is used when generating a custom element. Did you forget the 'customElement: true' compile option?`
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|