Skip to content

Commit 4102ca9

Browse files
authored
feat: add 'system' library format (#11256)
1 parent 4aa4a80 commit 4102ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vite/src/node/build.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ export interface LibraryOptions {
272272
fileName?: string | ((format: ModuleFormat, entryName: string) => string)
273273
}
274274

275-
export type LibraryFormats = 'es' | 'cjs' | 'umd' | 'iife'
275+
export type LibraryFormats = 'es' | 'cjs' | 'umd' | 'iife' | 'system'
276276

277277
export interface ModulePreloadOptions {
278278
/**

0 commit comments

Comments
 (0)