Rspeedy logo
Rspeedy

Home > @lynx-js/lynx-bundle-rslib-config > OutputConfig

OutputConfig type alias

Output config accepted by Lynx external bundle builds.

Signature:

export type OutputConfig = Required<LibConfig>['output'] & {
  externalsPresets?: ExternalsPresets;
  externalsPresetDefinitions?: ExternalsPresetDefinitions;
  externals?: Externals;
  globalObject?: 'lynx' | 'globalThis';
};

Properties

PropertyTypeDescription
externals?ExternalsExplicit external module mappings.
externalsPresetDefinitions?ExternalsPresetDefinitionsDefinitions for custom presets enabled by externalsPresets.
externalsPresets?ExternalsPresetsPresets for external libraries.
globalObject?'lynx' | 'globalThis'Global object used to mount the built library.
Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.