Skip to content

Commit

Permalink
fix: also include theme resource folder
Browse files Browse the repository at this point in the history
  • Loading branch information
web-padawan committed Aug 9, 2022
1 parent e5a68bf commit b7be221
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion flow-server/src/main/resources/vite.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,13 @@ export const vaadinConfig: UserConfigFn = (env) => {
themePlugin({devMode}),
postcssLit({
include: ['**/*.css', '**/*.css\?*'],
exclude: [`${themeFolder}/**/*.css`, `${themeFolder}/**/*.css\?*`, '**/*\?html-proxy*']
exclude: [
`${themeFolder}/**/*.css`,
`${themeFolder}/**/*.css\?*`,
`${themeResourceFolder}/**/*.css`,
`${themeResourceFolder}/**/*.css\?*`,
'**/*\?html-proxy*'
]
}),
{
name: 'vaadin:force-remove-spa-middleware',
Expand Down

0 comments on commit b7be221

Please sign in to comment.