Skip to content

Commit c9925c5

Browse files
committed
fix
1 parent 78a04a1 commit c9925c5

File tree

1 file changed

+1
-1
lines changed
  • packages/svelte/src/compiler/phases/2-analyze

1 file changed

+1
-1
lines changed

packages/svelte/src/compiler/phases/2-analyze/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ export function analyze_component(root, source, options) {
402402
}
403403

404404
if (attribute.name === 'customElement' && !options.customElement) {
405-
w.options_missing_custom_element(root.options);
405+
w.options_missing_custom_element(attribute);
406406
}
407407

408408
if (attribute.name === 'immutable') {

0 commit comments

Comments
 (0)