• function
 

Gets the babel preset or plugin name

Fold.getPresetOrPluginName(presetOrPlugin)

Gets the babel preset or plugin name

Parameters

  1. presetOrPlugin {BabelPreset | BabelPlugin}

    A babel plugin or preset

Returns

{string}

The preset/plugin name

Help us improve StealJS by taking our community survey