Skip to content

extend

  • Type: optional extend: boolean

Whether to extend the global variable defined by the name option in umd or iife formats.

When true, the global variable will be defined as global.name = global.name || {}. When false, the global defined by name will be overwritten like global.name = {}.

Default

ts
false

Released under the MIT License.