Documentation / @warp-drive/core / build-config/babel-macros / macros
Function: macros()
ts
function macros(): BabelPlugin[];
Defined in: warp-drive-packages/build-config/declarations/babel-macros.d.ts:12
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