Skip to content

Commit

Permalink
fix: not fail for missing window.Vaadin.Flow (#11669) (#11670)
Browse files Browse the repository at this point in the history
Fixes regression caused by #11635 
Fixes #11666

Co-authored-by: Pekka Hyvönen <pekka@vaadin.com>
  • Loading branch information
vaadin-bot and pleku committed Aug 28, 2021
1 parent 316d993 commit 2d600d9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ function generateThemeFile(themeFolder, themeName, themeProperties, productionMo
themeFile += imports.join('');
themeFile += `
window.Vaadin = window.Vaadin || {};
window.Vaadin.Flow = window.Vaadin.Flow || {};
window.Vaadin.Flow.injectedGlobalCss = [];
/**
Expand Down

0 comments on commit 2d600d9

Please sign in to comment.