Skip to content

Commit

Permalink
fix: add default package to scan
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 committed Jan 31, 2022
1 parent 65b5b27 commit 9d3bc4b
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 9d3bc4b

Please sign in to comment.