Documentation / @zerotal/core / build / addToDefaultArrayExport
Function: addToDefaultArrayExport()
addToDefaultArrayExport(
source,identifier):string
Defined in: build/codemod.ts:23
Append an identifier to a export default [ ... ] array literal, preserving
indentation and the trailing-comma style. No-op if already present.
Parameters
source
string
identifier
string
Returns
string