Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • LibraryOptions

Index

Properties

Path of library entry

fileName?: string | ((format: ModuleFormat, entryName: string) => string)

The name of the package file output. The default file name is the name option of the project package.json. It can also be defined as a function taking the format as an argument.

formats?: LibraryFormats[]

Output bundle formats

default

['es', 'umd']

name?: string

The name of the exposed global variable. Required when the formats option includes umd or iife