@teft/babel-preset-default
v5.1.3
Published
Default Babel preset for Teft development.
Downloads
57
Keywords
Readme
Babel Preset Default
Default Babel preset for Teft development.
Installation
Install the module
npm install @teft/babel-preset-default --save-dev
Usage
Via .babelrc (Recommended)
{
"presets": [ "@teft/default" ]
}
Via CLI
babel script.js --presets @teft/default
Via Node API
require( '@babel/core' ).transform( 'code', {
presets: [ '@teft/default' ]
} );