Skip to content

Commit

Permalink
fix: add default package to scan (#1009)
Browse files Browse the repository at this point in the history
add the renderer package to also
be scanned always as LitRenderer
uses an annotation.

Fixes #1008
  • Loading branch information
caalador authored and vaadin-bot committed Jan 31, 2022
1 parent a3f1f88 commit 4da0b02
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ public class VaadinServletContextInitializer
*/
private static final List<String> DEFAULT_SCAN_ONLY = Stream
.of(Component.class.getPackage().getName(),
Theme.class.getPackage().getName(), "com.vaadin.shrinkwrap")
Theme.class.getPackage().getName(),
// LitRenderer uses script annotation
"com.vaadin.flow.data.renderer",
"com.vaadin.shrinkwrap")
.collect(Collectors.toList());

/**
Expand Down

0 comments on commit 4da0b02

Please sign in to comment.