| id | babel-build-external-helpers |
|---|---|
| title | @babel/build-external-helpers |
A command line interface to build Babel external helpers.
npm install --save-dev @babel/build-external-helpersBuild external helpers as a standalone script.
npx @babel/build-external-helpers > external-helpers.js-t, --output-type, one of global (default), umd, var, and module.
The following example set outputType to umd.
npx @babel/build-external-helpers --output-type umd > external-helpers.js-l, --allow-list, comma-separated list of allowed helpers.
The following example generate the applyDecs2305 helper:
npx @babel/build-external-helpers --allowlist applyDecs2305 > external-decorator-helpers.js