preferStatic constant

LinkModePreference const preferStatic

Provide native assets as static libraries, if possible.

Otherwise, build native assets as dynamic libraries. Preferred for AOT compilation, if there are any native assets which can only be provided as dynamic libraries.

Implementation

static const preferStatic = LinkModePreference(
  'prefer-static',
);