From d43242e419cbae9b032563a20d583770f7b4db6f Mon Sep 17 00:00:00 2001 From: Mikael Grankvist Date: Wed, 9 Dec 2020 12:43:23 +0200 Subject: [PATCH] Add npmPackage for assets. --- .../com/vaadin/flow/webcomponent/ThemedComponentExporter.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flow-tests/test-embedding/test-embedding-application-theme/src/main/java/com/vaadin/flow/webcomponent/ThemedComponentExporter.java b/flow-tests/test-embedding/test-embedding-application-theme/src/main/java/com/vaadin/flow/webcomponent/ThemedComponentExporter.java index b6ec897feeb..b1b5efe5a80 100644 --- a/flow-tests/test-embedding/test-embedding-application-theme/src/main/java/com/vaadin/flow/webcomponent/ThemedComponentExporter.java +++ b/flow-tests/test-embedding/test-embedding-application-theme/src/main/java/com/vaadin/flow/webcomponent/ThemedComponentExporter.java @@ -16,10 +16,12 @@ package com.vaadin.flow.webcomponent; import com.vaadin.flow.component.WebComponentExporter; +import com.vaadin.flow.component.dependency.NpmPackage; import com.vaadin.flow.component.webcomponent.WebComponent; import com.vaadin.flow.theme.Theme; @Theme("embedded-theme") +@NpmPackage(value = "@fortawesome/fontawesome-free", version = "5.15.1") public class ThemedComponentExporter extends WebComponentExporter { public ThemedComponentExporter() {