diff --git a/shared/shared-vite-config.ts b/shared/shared-vite-config.ts index 1f36518a616..e4e2880443b 100644 --- a/shared/shared-vite-config.ts +++ b/shared/shared-vite-config.ts @@ -1,5 +1,5 @@ import { UserConfigFn, mergeConfig } from 'vite'; -import { useLocalWebComponents } from './web-components-vite-plugin'; +import { useLocalWebComponents, useLitWebComponents } from './web-components-vite-plugin'; export const mergeConfigs = (...configs: UserConfigFn[]) => { return configs.reduce((acc, config) => mergeConfig(acc, config)); @@ -7,6 +7,8 @@ export const mergeConfigs = (...configs: UserConfigFn[]) => { export const sharedConfig: UserConfigFn = (env) => ({ plugins: [ + useLitWebComponents() + // Use local version of web-components, disabled by default. // To use this, uncomment the lines below and change the path // to your local web-components folder if needed (absolute or