diff --git a/shared/web-components-vite-plugin.ts b/shared/web-components-vite-plugin.ts index 308bd39ab8f..a9f0e36ec10 100644 --- a/shared/web-components-vite-plugin.ts +++ b/shared/web-components-vite-plugin.ts @@ -22,8 +22,8 @@ export function useLocalWebComponents(webComponentsNodeModulesPath: string): Plu if (/^(@polymer|@vaadin)/.test(id)) { return this.resolve(path.join(webComponentsNodeModulesPath, id)); } - }, - } + } + }; } /** @@ -43,6 +43,7 @@ export function useLitWebComponents(): PluginOption { 'custom-field', 'details', 'dialog', + 'grid', 'horizontal-layout', 'list-box', 'notification', @@ -57,11 +58,10 @@ export function useLitWebComponents(): PluginOption { find: new RegExp(`^@vaadin/${component}\/(src\/)?vaadin-(?!lit)`), replacement: `@vaadin/${component}/$1vaadin-lit-` } - ] + ]; }) - }, - } + } + }; } - } + }; } -