Meet npm Pro: unlimited public & private packages + package-based permissions.Learn more »

@wordpress/babel-preset-default

4.10.0 • Public • Published

Babel Preset Default

Default Babel preset for WordPress development.

Installation

Install the module

npm install @wordpress/babel-preset-default --save-dev

Usage

Via .babelrc (Recommended)

{
  "presets": [ "@wordpress/default" ]
}

Via CLI

babel script.js --presets @wordpress/default

Via Node API

require( '@babel/core' ).transform( 'code', {
  presets: [ '@wordpress/default' ]
} );



Code is Poetry.

Install

npm i @wordpress/babel-preset-default

DownloadsWeekly Downloads

10,623

Version

4.10.0

License

GPL-2.0-or-later

Unpacked Size

26.3 kB

Total Files

5

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar