Documentation / @warp-drive/build-config / babel-macros / macros
Function: macros()
ts
function macros(): BabelPlugin[];Defined in: babel-macros.ts:54
Returns
BabelPlugin[]
an array of Babel plugins that can be used for code-stripping based on the configuration supplied to setConfig and the current ENV.
- deprecation constants imported from
@warp-drive/build-config/deprecations - feature flags imported from
@warp-drive/build-config/canary-features - debug logging constants imported from
@warp-drive/build-config/debugging - environment constants imported from
@warp-drive/build-config/env - expressionts imported from
@warp-drive/build-config/macros