Skip to content

Commit

Permalink
fix(lifecycle): tag styles were not being generated for components wi…
Browse files Browse the repository at this point in the history
…thout styles (#1553)
  • Loading branch information
snaptopixel authored and manucorporat committed May 21, 2019
1 parent 4960fbe commit 279e33b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/runtime/bootstrap-lazy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ export const bootstrapLazy = (lazyBundles: d.LazyBundlesRuntimeData, options: d.
cmpMeta.$lazyBundleIds$ = lazyBundle[0];

if (!exclude.includes(tagName) && !customElements.get(tagName)) {
if (BUILD.style) {
cmpTags.push(tagName);
}
cmpTags.push(tagName);
customElements.define(
tagName,
proxyComponent(HostElement as any, cmpMeta, 1, 0) as any
Expand Down

0 comments on commit 279e33b

Please sign in to comment.