diff --git a/packages/vite/src/node/build.ts b/packages/vite/src/node/build.ts index 4245e61251caab..e5c9c5dcddf8fe 100644 --- a/packages/vite/src/node/build.ts +++ b/packages/vite/src/node/build.ts @@ -248,7 +248,7 @@ export interface LibraryOptions { fileName?: string | ((format: ModuleFormat, entryName: string) => string) } -export type LibraryFormats = 'es' | 'cjs' | 'umd' | 'iife' +export type LibraryFormats = 'es' | 'cjs' | 'umd' | 'iife' | 'system' export interface ModulePreloadOptions { /**