Skip to content

Commit 279e33b

Browse files
snaptopixelmanucorporat
authored andcommitted
fix(lifecycle): tag styles were not being generated for components without styles (#1553)
1 parent 4960fbe commit 279e33b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/runtime/bootstrap-lazy.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ export const bootstrapLazy = (lazyBundles: d.LazyBundlesRuntimeData, options: d.
122122
cmpMeta.$lazyBundleIds$ = lazyBundle[0];
123123

124124
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
125-
if (BUILD.style) {
126-
cmpTags.push(tagName);
127-
}
125+
cmpTags.push(tagName);
128126
customElements.define(
129127
tagName,
130128
proxyComponent(HostElement as any, cmpMeta, 1, 0) as any

0 commit comments

Comments
 (0)