File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed
packages/runtime-core/src/helpers Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -111,12 +111,16 @@ function resolveAsset(
111
111
return Component
112
112
}
113
113
114
- if ( __DEV__ && warnMissing && ( ( ! res && ! isLateTag ( name ) ) || ( res && isLateTag ( name ) ) ) ) {
114
+ if (
115
+ __DEV__ &&
116
+ warnMissing &&
117
+ ( ( ! res && ! isLateTag ( name ) ) || ( res && isLateTag ( name ) ) )
118
+ ) {
115
119
const extra =
116
- type === COMPONENTS
117
- ? `\nIf this is a native custom element, make sure to exclude it from ` +
118
- `component resolution via compilerOptions.isCustomElement.`
119
- : ``
120
+ type === COMPONENTS
121
+ ? `\nIf this is a native custom element, make sure to exclude it from ` +
122
+ `component resolution via compilerOptions.isCustomElement.`
123
+ : ``
120
124
warn ( `Failed to resolve ${ type . slice ( 0 , - 1 ) } : ${ name } ${ extra } ` )
121
125
}
122
126
You can’t perform that action at this time.
0 commit comments